[FreeNX-kNX] [qtnx] Does not start up session

Paul Menzel paulepanter at users.sourceforge.net
Sun Oct 12 14:01:29 UTC 2008


Dear list,


Am Freitag, den 09.05.2008, 10:05 +0200 schrieb Paul Menzel:

> Am Dienstag, den 06.05.2008, 15:22 +0200 schrieb Fabian Franz:

[…]

> Thanks a lot. Do you need more logs?

I set up FreeNX Server 0.7.3 on a Debian Sid system installing it from

deb http://ppa.launchpad.net/freenx-team/ubuntu hardy main

Having QtNX installed on this system too, I tried it and it worked
locally. Trying it from remote it fails with QtNX and works with NX
Client.

Here are the logs. Maybe the logs from version 0.7.3 show more
information. They look different than before.

$# logs from the user
$ cat .nx/F-C-x-1000-CA86753DC13A3221315EB62A25E474FF/session

NXAGENT - Version 3.2.0

Copyright (C) 2001, 2007 NoMachine.
See http://www.nomachine.com/ for more information.

Info: Agent running with pid '8938'.
Session: Starting session at 'Sun Oct 12 15:14:05 2008'.
Info: Proxy running in server mode with pid '8938'.
Info: Waiting for connection from '127.0.0.1' on port '5000'.
Info: Accepted connection from '127.0.0.1'.
Warning: Parent process appears to be dead. Exiting watchdog.
xrdb: Connection reset by peer
xrdb: Can't open display ':1000'


$# logs from nxserver with LOG_LEVEL=6
$ sudo cat /var/log/nxserver.log 
-- NX SERVER START: -c /usr/lib/nxserver - ORIG_COMMAND=
-- NX SERVER START:  - ORIG_COMMAND=
Info: Using fds #4 and #3 for communication with nxnode.
HELLO NXSERVER - Version 3.2.0-74-SVN OS (GPL, using backend: 3.2.0)
NX> 105 quit
Quit
NX> 999 Bye

# the above happens when I hit a second time Connect in QtNX after it failed the first time
# below are the logs with a freshly started QtNX

-- NX SERVER START: -c /usr/lib/nxserver - ORIG_COMMAND=
-- NX SERVER START:  - ORIG_COMMAND=
Info: Using fds #4 and #3 for communication with nxnode.
HELLO NXSERVER - Version 3.2.0-74-SVN OS (GPL, using backend: 3.2.0)
NX> 105 hello NXCLIENT - Version 3.0.0
NX> 134 Accepted protocol: 3.0.0
NX> 105 SET SHELL_MODE SHELL
NX> 105 SET AUTH_MODE PASSWORD
NX> 105 login
NX> 101 User: y
NX> 102 Password: 
Info: Auth method: ssh y at 127.0.0.1's password:
NX> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL, using backend: 3.2.0)
NX> 716 Slave mode started successfully.
nxnode_reader: NX> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL, using backend: 3.2.0)
nxnode_reader: NX> 716 finished
nxnode_reader: NX> 1001 Bye.

NX> 103 Welcome to: x user: y
NX> 105 listsession --user="y" --status="suspended,running" --geometry="1280x1024x16+render" --type="unix-gnome"
NX> 127 Sessions list of user 'y' for reconnect:

Display Type             Session ID                       Options  Depth Screen         Status      Session Name
------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------


NX> 148 Server capacity: not reached for user: y
NX> 105 startsession --session="x" --type="unix-gnome" --cache="8M" --images="32M" --cookie="******" --link="lan" --render="1" --encryption="1" --backingstore="when_requested" --imagecompressionmethod="2" --geometry="fullscreen" --screeninfo="1280x1024x16+render+fullscreen" --keyboard="defkeymap" --kbtype="pc102/defkeymap" --media="0" --agent_server="" --agent_user="" agent_password="******"sebtest" 

Info: Using /etc/nxserver/nxacl to change session parameters or deny session.
&session=x&type=unix-gnome&cache=8M&images=32M&cookie=******&link=lan&render=1&encryption=1&backingstore=when_requested&imagecompressionmethod=2&geometry=fullscreen&screeninfo=1280x1024x16+render+fullscreen&keyboard=defkeymap&kbtype=pc102/defkeymap&media=0&agent_server=&agent_user=&agent_password=******&clientproto=3.0.0&user=y&userip=192.168.178.21&uniqueid=CA86753DC13A3221315EB62A25E474FF&display=1000&host=127.0.0.1 
nxnode_reader: NX> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL, using backend: 3.2.0)
NX> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL, using backend: 3.2.0)
server_nxnode_echo: NX> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL, using backend: 3.2.0)
nxnode_reader: NX> 700 Session id: x-1000-CA86753DC13A3221315EB62A25E474FF
nxnode_reader: NX> 705 Session display: 1000
nxnode_reader: NX> 703 Session type: unix-gnome
server_nxnode_echo: NX> 700 Session id: x-1000-CA86753DC13A3221315EB62A25E474FF
server_nxnode_echo: NX> 705 Session display: 1000
server_nxnode_echo: NX> 703 Session type: unix-gnome
NX> 700 Session id: x-1000-CA86753DC13A3221315EB62A25E474FF
NX> 705 Session display: 1000
NX> 703 Session type: unix-gnome
nxnode_reader: NX> 701 Proxy cookie: 5c4dfc527c5e38a08a6946d90d3d7714
nxnode_reader: NX> 702 Proxy IP: 127.0.1.1
nxnode_reader: NX> 706 Agent cookie: 5c4dfc527c5e38a08a6946d90d3d7714
server_nxnode_echo: NX> 701 Proxy cookie: 5c4dfc527c5e38a08a6946d90d3d7714
server_nxnode_echo: NX> 702 Proxy IP: 127.0.1.1
NX> 701 Proxy cookie: 5c4dfc527c5e38a08a6946d90d3d7714
NX> 702 Proxy IP: 127.0.1.1
NX> 706 Agent cookie: 5c4dfc527c5e38a08a6946d90d3d7714
nxnode_reader: NX> 704 Session cache: unix-gnome
nxnode_reader: NX> 707 SSL tunneling: 1
NX> 704 Session cache: unix-gnome
NX> 707 SSL tunneling: 1
server_nxnode_echo: NX> 706 Agent cookie: 5c4dfc527c5e38a08a6946d90d3d7714
server_nxnode_echo: NX> 704 Session cache: unix-gnome
server_nxnode_echo: NX> 707 SSL tunneling: 1
nxnode_reader: NX> 1009 Session status: starting
NX> 1009 Session status: starting
server_nxnode_echo: NX> 1009 Session status: starting
nxnode_reader: NX> 710 Session status: running
nxnode_reader: NX> 1002 Commit
nxnode_reader: NX> 1006 Session status: running
NX> 710 Session status: running
NX> 1002 Commit
NX> 1006 Session status: running
server_nxnode_echo: NX> 710 Session status: running
server_nxnode_echo: NX> 1002 Commit
NX> 105 session_status CA86753DC13A3221315EB62A25E474FF Running
server_nxnode_echo: NX> 1006 Session status: running
bye
Bye
NX> 999 Bye
nxnode_reader: /usr/lib/nx/nxnode: line 564:  8938 Der Wecker klingelt     PATH="$PATH_BIN:$PATH" $COMMAND_NXAGENT $P $R -name "NX - $user@$SERVER_NAME:$display - $session (GPL Edition)" -option "$USER_FAKE_HOME/.nx/C-$sess_id/options" $K $G $B $FP $AGENT_EXTRA_OPTIONS_X :$display 2>&3
/usr/lib/nx/nxnode: line 564:  8938 Der Wecker klingelt     PATH="$PATH_BIN:$PATH" $COMMAND_NXAGENT $P $R -name "NX - $user@$SERVER_NAME:$display - $session (GPL Edition)" -option "$USER_FAKE_HOME/.nx/C-$sess_id/options" $K $G $B $FP $AGENT_EXTRA_OPTIONS_X :$display 2>&3
nxnode_reader: NX> 1004 Error: NX Agent exited with exit status 1. To troubleshoot set SESSION_LOG_CLEAN=0 in node.conf and investigate "/home/y/.nx/F-C-x-1000-CA86753DC13A3221315EB62A25E474FF/session". You might also want to try: ssh -X myserver; /usr/lib/nx/nxnode --agent to test the basic functionality. Session log follows:
Info: Closing connection to slave with pid 8302.
NX> 1004 Error: NX Agent exited with exit status 1. To troubleshoot set SESSION_LOG_CLEAN=0 in node.conf and investigate "/home/y/.nx/F-C-x-1000-CA86753DC13A3221315EB62A25E474FF/session". You might also want to try: ssh -X myserver; /usr/lib/nx/nxnode --agent to test the basic functionality. Session log follows:
nxnode_reader: NX> 1006 Session status: closed
nxnode_reader: 
nxnode_reader: NXAGENT - Version 3.2.0
nxnode_reader: 
nxnode_reader: Copyright (C) 2001, 2007 NoMachine.
nxnode_reader: See http://www.nomachine.com/ for more information.
nxnode_reader: 
nxnode_reader: Info: Agent running with pid '8938'.
nxnode_reader: Session: Starting session at 'Sun Oct 12 15:14:05 2008'.
nxnode_reader: Info: Proxy running in server mode with pid '8938'.
nxnode_reader: Info: Waiting for connection from '127.0.0.1' on port '5000'.
nxnode_reader: Info: Accepted connection from '127.0.0.1'.
NX> 1006 Session status: closed

NXAGENT - Version 3.2.0

Copyright (C) 2001, 2007 NoMachine.
See http://www.nomachine.com/ for more information.

Info: Agent running with pid '8938'.
Session: Starting session at 'Sun Oct 12 15:14:05 2008'.
Info: Proxy running in server mode with pid '8938'.
Info: Waiting for connection from '127.0.0.1' on port '5000'.
Info: Accepted connection from '127.0.0.1'.
nxnode_reader: 1001 Bye.
1001 Bye.
server_nxnode_echo: NX> 596 Session startup failed.
nxnode_reader: NX> 1001 Bye.
Info: Closing connection to slave with pid 8302.


Thanks a lot. Can I provide more information?

Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://mail.kde.org/pipermail/freenx-knx/attachments/20081012/d641748c/attachment.sig>


More information about the FreeNX-kNX mailing list