[FreeNX-kNX] re - FreeNX on Suse 10.3 - connecting from XP to opensuse

Alastair Johnson alastair at solutiontrax.com
Fri Jul 25 09:44:27 UTC 2008


The important part is this bit. The directory under .nx will change with 
each session, but the session and errors files in that directory will 
probably give a clue as to why nxagent is exiting with an error. The 
manual run it suggests can be quite informative as well.

NX> 1004 Error: NX Agent exited with exit status 1. To troubleshoot set 
SESSION_LOG_CLEAN=0 in node.conf and investigate 
"/home/stephen/.nx/F-C-planb-1000-4705D8FE1FA64F66C92856284FF4DCCC/session". 
You might also want to try: ssh -X myserver; /usr/bin/nxnode --agent to 
test the basic functionality. Session log follows:


Stephen Bratsberg wrote:
> Thanks for the response,
> 
> Mike <bellyacres at gmail.com <mailto:bellyacres at gmail.com> wrote..
> 
> */"Is the host IP wrong?  198.168.2.39 <http://198.168.2.39/> is public 
> IP space, perhaps it's 192."/*
> 
> 
> With a red face I found that it is 192 and I had in error entered 198, 
> changing the address to 192.168.2.39 <http://192.168.2.39> port 22 - 
> when I run NX client I get the following error..
> 
> 
> NX Client (on XP)
> 
> 
> NX> 203 NXSSH running with pid: 2260
> 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: 192.168.2.39 <http://192.168.2.39> on port: 22
> NX> 202 Authenticating user: nx
> NX> 208 Using auth method: publickey
> /usr/bin/xauth:  creating new authority file 
> /var/lib/nxserver/home/.Xauthority
> HELLO NXSERVER - Version 1.5.0-70 OS (GPL, using backend: 2.1.0)
> NX> 105 hello NXCLIENT - Version 1.5.0
> NX> 134 Accepted protocol: 1.5.0
> NX> 105 SET SHELL_MODE SHELL
> NX> 105 SET AUTH_MODE PASSWORD
> NX> 105 login
> NX> 101 User: stephen
> NX> 102 Password:
> NX> 103 Welcome to: planb user: stephen
> NX> 105 listsession --user="stephen" --status="suspended,running" 
> --geometry="1680x1050x32+render" --type="unix-gnome"
> NX> 127 Sessions list of user 'stephen' for reconnect:
> 
> Display Type             Session ID                       Options  Depth 
> Screen         Status      Session Name
> ------- ---------------- -------------------------------- -------- ----- 
> -------------- ----------- ------------------------------
> 
> 
> NX> 148 Server capacity: not reached for user: stephen
> NX> 105 startsession  --link="lan" --backingstore="1" --encryption="1" 
> --cache="16M" --images="64M" --media="0" --session="planb" 
> --type="unix-gnome" --geometry="800x600" --kbtype="pc102/en_US" 
> --screeninfo="800x600x32+render"
> 
> NX> 1000 NXNODE - Version 1.5.0-70 OS (GPL, using backend: 2.1.0)
> NX> 700 Session id: planb-1000-4705D8FE1FA64F66C92856284FF4DCCC
> NX> 705 Session display: 1000
> NX> 703 Session type: unix-gnome
> NX> 701 Proxy cookie: 927e7c384f8f048ebbb5a035e564189b
> NX> 702 Proxy IP: 127.0.0.1 <http://127.0.0.1>
> NX> 706 Agent cookie: 927e7c384f8f048ebbb5a035e564189b
> NX> 704 Session cache: unix-gnome
> NX> 707 SSL tunneling: 1
> NX> 105 /usr/bin/nxserver: line 1371: 12788 Terminated              
> sleep $AGENT_STARTUP_TIMEOUT
> NX> 596 Session startup failed.
> NX> 1004 Error: NX Agent exited with exit status 1. To troubleshoot set 
> SESSION_LOG_CLEAN=0 in node.conf and investigate 
> "/home/stephen/.nx/F-C-planb-1000-4705D8FE1FA64F66C92856284FF4DCCC/session". 
> You might also want to try: ssh -X myserver; /usr/bin/nxnode --agent to 
> test the basic functionality. Session log follows:
> Can't open 
> /var/lib/nxserver/db/running/sessionId{4705D8FE1FA64F66C92856284FF4DCCC}: 
> No such file or directory.
> mv: cannot stat 
> `/var/lib/nxserver/db/running/sessionId{4705D8FE1FA64F66C92856284FF4DCCC}': 
> No such file or directory
> NX> 1006 Session status: closed
> NX> 1001 Bye.
> NX> 280 Exiting on signal: 15
> 
> and 
> 
> nxserver.log reads...
> 
> -- NX SERVER START: -c /usr/bin/nxserver - ORIG_COMMAND=
> HELLO NXSERVER - Version 1.5.0-70 OS (GPL, using backend: 2.1.0)
> NX> 105 hello NXCLIENT - Version 1.5.0
> NX> 134 Accepted protocol: 1.5.0
> NX> 105 SET SHELL_MODE SHELL
> NX> 105 SET AUTH_MODE PASSWORD
> NX> 105 login
> NX> 101 User: stephen
> NX> 102 Password:
> Info: Auth method: passdb ssh
> NX> 103 Welcome to: planb user: stephen
> NX> 105 listsession --user="stephen" --status="suspended,running" 
> --geometry="1680x1050x32+render" --type="unix-gnome"
> NX> 127 Sessions list of user 'stephen' for reconnect:
> 
> Display Type             Session ID                       Options  Depth 
> Screen         Status      Session Name
> ------- ---------------- -------------------------------- -------- ----- 
> -------------- ----------- ------------------------------
> 
> 
> NX> 148 Server capacity: not reached for user: stephen
> NX> 105 startsession  --link="lan" --backingstore="1" --encryption="1" 
> --cache="16M" --images="64M" --media="0" --session="planb" 
> --type="unix-gnome" --geometry="800x600" --kbtype="pc102/en_US" 
> --screeninfo="800x600x32+render"
> 
> &link=lan&backingstore=1&encryption=1&cache=16M&images=64M&media=0&session=planb&type=unix-gnome&geometry=800x600&kbtype=pc102/en_US&screeninfo=800x600x32+render&clientproto=1.5.0&user=stephen&userip=192.168.2.38 
> <http://192.168.2.38>&uniqueid=4705D8FE1FA64F66C92856284FF4DCCC&display=1000&host=127.0.0.1 
> <http://127.0.0.1>
> Password:
> NX> 1000 NXNODE - Version 1.5.0-70 OS (GPL, using backend: 2.1.0)
> server_nxnode_echo: NX> 1000 NXNODE - Version 1.5.0-70 OS (GPL, using 
> backend: 2.1.0)
> NX> 700 Session id: planb-1000-4705D8FE1FA64F66C92856284FF4DCCC
> NX> 705 Session display: 1000
> NX> 703 Session type: unix-gnome
> NX> 701 Proxy cookie: 927e7c384f8f048ebbb5a035e564189b
> NX> 702 Proxy IP: 127.0.0.1 <http://127.0.0.1>
> NX> 706 Agent cookie: 927e7c384f8f048ebbb5a035e564189b
> NX> 704 Session cache: unix-gnome
> NX> 707 SSL tunneling: 1
> server_nxnode_echo: NX> 700 Session id: 
> planb-1000-4705D8FE1FA64F66C92856284FF4DCCC
> server_nxnode_echo: NX> 705 Session display: 1000
> server_nxnode_echo: NX> 703 Session type: unix-gnome
> server_nxnode_echo: NX> 701 Proxy cookie: 927e7c384f8f048ebbb5a035e564189b
> server_nxnode_echo: NX> 702 Proxy IP: 127.0.0.1 <http://127.0.0.1>
> server_nxnode_echo: NX> 706 Agent cookie: 927e7c384f8f048ebbb5a035e564189b
> server_nxnode_echo: NX> 704 Session cache: unix-gnome
> server_nxnode_echo: NX> 707 SSL tunneling: 1
> /usr/bin/nxnode: line 540: 13051 Terminated              
> PATH="$PATH_BIN:$PATH" $PATH_BIN/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
> NX> 1004 Error: NX Agent exited with exit status 1. To troubleshoot set 
> SESSION_LOG_CLEAN=0 in node.conf and investigate 
> "/home/stephen/.nx/F-C-planb-1000-4705D8FE1FA64F66C92856284FF4DCCC/session". 
> You might also want to try: ssh -X myserver; /usr/bin/nxnode --agent to 
> test the basic functionality. Session log follows:
> NX> 105 xrdb: No such file or directory
> xrdb: Can't open display ':1000'
> 
> (gnome-session:13068): Gtk-WARNING **: cannot open display: 
> NX> 1006 Session status: closed
> server_nxnode_echo: NX> 596 Session startup failed.
> NX> 596 Session startup failed.
> server_nxnode_echo: NX> 1004 Error: NX Agent exited with exit status 1. 
> To troubleshoot set SESSION_LOG_CLEAN=0 in node.conf and investigate 
> "/home/stephen/.nx/F-C-planb-1000-4705D8FE1FA64F66C92856284FF4DCCC/session". 
> You might also want to try: ssh -X myserver; /usr/bin/nxnode --agent to 
> test the basic functionality. Session log follows:
> session_close 4705D8FE1FA64F66C92856284FF4DCCC
> server_nxnode_echo: NX> 1006 Session status: closed
> NX> 1001 Bye.
> server_nxnode_echo: NX> 1001 Bye.
> 
> Not sure what it all means .. if this is a display issue --  I have the 
> NX client as follows...
> 
> Desktop - unix/gnome & display as 800x600
> 
> Thank you
> 
> Stephen
> 
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> ________________________________________________________________
>      Were you helped on this list with your FreeNX problem?
>     Then please write up the solution in the FreeNX Wiki/FAQ:
>   http://openfacts.berlios.de/index-en.phtml?title=FreeNX_FAQ
>          Don't forget to check the NX Knowledge Base:
>                  http://www.nomachine.com/kb/ 
> 
> ________________________________________________________________
>        FreeNX-kNX mailing list --- FreeNX-kNX at kde.org
>       https://mail.kde.org/mailman/listinfo/freenx-knx
> ________________________________________________________________




More information about the FreeNX-kNX mailing list