ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Michael A. Kangin" <mak@complife.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: [Comm] FreeNX resume session
Date: Mon, 3 May 2010 11:26:57 +0400
Message-ID: <201005031126.57860.mak@complife.ru> (raw)

Добрый день.

А как правильно можно подцеплять отконнекченную FreeNX-сессию?
В файле 07-misc.conf я прописал параметр ENABLE_AUTORECONNECT="1", 
перезапустил freenx-server.

Подключаюсь к локалхосту, запускается новая сессия, всё ок. Делаю ей 
дисконнект, пытаюсь подключиться заново. Клиент долго весит на стадии 
"Connecting to mysession", и под конец рисует Connection timeout. Диагностика:

NX> 203 NXSSH running with pid: 7331
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 285 Setting the preferred NX options
NX> 200 Connected to address: 127.0.0.1 on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
HELLO NXSERVER - Version 3.2.0-74-SVN OS (GPL, using backend: 3.4.0)
NX> 105 hello NXCLIENT - Version 3.2.0
NX> 134 Accepted protocol: 3.2.0
NX> 105 SET SHELL_MODE SHELL
NX> 105 SET AUTH_MODE PASSWORD
NX> 105 login
NX> 101 User: mak
NX> 102 Password: 
NX> 103 Welcome to: admin.lan.kovcheg.metatr.ru user: mak
NX> 105 listsession --user="mak" --status="suspended,running" --
geometry="2880x1200x24+render" --type="unix-xdm"
NX> 127 Sessions list of user 'mak' for reconnect:

Display Type             Session ID                       Options  Depth 
Screen         Status      Session Name
------- ---------------- -------------------------------- -------- ----- 
-------------- ----------- ------------------------------
2001    unix-xdm         D94DCBAEFFAD1DB67344330A97D70435 -RD--PSA    24 
1024x768       Suspended   mysession


NX> 148 Server capacity: not reached for user: mak
NX> 105 restoresession  --xdm_type="query" --xdm_host="localhost" --
xdm_port="177" --link="adsl" --backingstore="1" --encryption="1" --cache="16M" 
--images="64M" --shmem="1" --shpix="1" --strict="0" --composite="1" --
media="0" --session="mysession" --type="unix-xdm" --
geometry="1024x768+928+198" --client="linux" --keyboard="pc102/us" --
id="D94DCBAEFFAD1DB67344330A97D70435" 

NX> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL, using backend: 3.4.0)
/usr/bin/nxserver: line 1584:  7770 Terminated              sleep 
$AGENT_STARTUP_TIMEOUT
NX> 105 NX> 596 Session startup failed.
/usr/bin/nxserver: line 578: kill: (7493) - No such process
NX> 280 Exiting on signal: 15


-- 
WBR, Michael A. Kangin

             reply	other threads:[~2010-05-03  7:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-03  7:26 Michael A. Kangin [this message]
2010-05-06  6:53 ` Michael Shigorin
2010-05-06 10:28   ` Michael A. Kangin
2010-06-08 11:46 ` Earnol
2010-06-24 16:03   ` Владимир
2010-06-25 20:14 ` Michael Shigorin

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=201005031126.57860.mak@complife.ru \
    --to=mak@complife.ru \
    --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