ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Boris Savelev <boris.savelev@gmail.com>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] проблема: автоматическое подключение удаленного рабочего стола
Date: Wed, 27 May 2009 13:34:06 +0400
Message-ID: <4d6cc2f20905270234n475d88f1sccd5e2473b347499@mail.gmail.com> (raw)
In-Reply-To: <E1M9F84-00077O-8D@web01.mi6.kiev.ua>

27 мая 2009 г. 13:08 пользователь Maxim <system@i.ua> написал:
> Всем привет..
> вопрос по поводу связки freenx-server nxclient ALTLinux Desktop 4.1.0 ALTLinux Desktop Lite 4.0.3
> и автоматического подключения удалённого рабочего стола
> на машине с ALTLinux Desktop 4.1.0 устанавливаю freenx-server запускаю работает
> на ALTLinux Desktop Lite 4.0.3 устанавливаю nxclient настраиваю подключаю все ок.
> но когда я хочу чтоб он автоматически запускался после ввода логина и пароля при старте системы
> он подключается но потом выкидывает
> делаю все так
>
> на ALTLinux Desktop Lite 4.0.3
> 1. создаю скрипт запуска:
> !#/bin/bash
> /usr/lib/nxclient/bin/nxclient --session "/home/tdc/.nx/config/server.inet.nxs"
> ложу его в /usr/local/bin/
>
> 2. коментирую в файле /home/tdc/.wm-select
> #EXEC=/usr/bin/startxfce4
> и добавляю
> EXEC=/usr/local/bin/nx
>
> в итоге при авторизации ввожу логин и пароль юзера tdc запускает nxclient но через секунду обрубает но сессия на сервере остаётся открытой
> но самое интересное что когда я захожу просто из иксов запускаю клиент то все нормально работает

потому что иксы запускаются с одним приложением -- nxclient. после
авторизации nxclient завершает работу, запуская nxagent. после
завершения работы nxclient, иксы также завершают свою работу, что Вы и
наблюдаете.

-- 
С уважением, Борис Савельев

      reply	other threads:[~2009-05-27  9:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-27  9:08 Maxim
2009-05-27  9:34 ` Boris Savelev [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4d6cc2f20905270234n475d88f1sccd5e2473b347499@mail.gmail.com \
    --to=boris.savelev@gmail.com \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git