[FreeNX-kNX] Shadow Session fails to attach
Ling-Yan Lau
ll220 at medschl.cam.ac.uk
Wed May 22 13:41:42 UTC 2013
Hi everyone,
I have a problem with my FreeNX server in that everything works find except I can't get shadowing to work.
My setup is as follows:
Server OS: Ubuntu 12.04 LTS
FreeXN Version: NXSERVER - Version 3.2.0-74-SVN OS (GPL, using backend: 3.5.0)
Client OS: Windows 7
NX Client: NoMachine NX Client for Windows Version 3.5.0-9
The clients can all connect and disconnect sessions on the server. I have my shadow client configured so the Desktop is set as "Shadow". Once connected I get a list of available sessions. If I select a session and press Attach I get an error message "The NX Client received an error from the server. Please check the details for more information".
I've listed the contents at the bottom of this email.
If I check the suggested session file. The contents of which are:
Error: Aborting session with 'Server is already active for display 2003
If this server is no longer running, remove /tmp/.X2003-lock
and start again'.
If I remove the lock file and retry I still get the errors and the session file now contains...
Error: Aborting session with 'Cannot establish any listening sockets - Make sure an X server isn't already running'.
I'm not sure what it is that I've missed or got wrong in my setup. Can anyone help?
Many thanks,
Len
NX> 203 NXSSH running with pid: 10748
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: ********* on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
Welcome to Ubuntu 12.04.2 LTS (GNU/Linux 3.2.0-40-generic x86_64)
* Documentation: https://help.ubuntu.com/
System information as of Wed May 22 14:25:32 BST 2013
System load: 8.03 Processes: 868
Usage of /home: 56.2% of 55.42GB Users logged in: 10
Memory usage: 59% IP address for eth0:**********
Swap usage: 29%
Graph this data and manage this system at https://landscape.canonical.com/
*** System restart required ***
HELLO NXSERVER - Version 3.2.0-74-SVN OS (GPL, using backend: 3.5.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: cscs
NX> 102 Password:
NX> 103 Welcome to: me-promis user: cscs
NX> 105 listsession --type="shadow"
NX> 127 Sessions list of user '.*' for reconnect:
Display Type Session ID Options Depth Screen Status Session Name
------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------
2003 unix-gnome 1A756A55A57CDF54770F8B251B402EF2 --D--PSA 24 1914x1132 Running me-promis (jd12345) (Shadowed)
2007 unix-gnome 1E9700D9D29407AC6575CAF11EB08232 --D--PSA 24 1274x962 Running cmpc (dff21) (Shadowed)
2000 unix-gnome 1E99E5A6992B831A32A5623A59492E7D --D--PSA 24 1674x994 Running ry232 (ry232) (Shadowed)
2004 unix-gnome B11ABF5A71B1954D812988CA3AB29F56 --D--PSA 24 1914x1132 Suspended Promis Webserver (sb452) (Shadowed)
2006 unix-gnome D58E30C7D948ED691ECD35DF712F39F5 --D--PSA 24 1914x1012 Suspended me-promis (ps629) (Shadowed)
2002 unix-gnome E8DDBC5A076C462C45CCDE52368BE2A0 --D--PSA 24 1274x962 Running me-promis (lb570) (Shadowed)
2001 unix-gnome F99F850D20CB758444ADB09838B165CA --D--PSA 24 1594x1147 Running me-promis (dng24) (Shadowed)
0 Local 461A49E983063F786AD105F529475F36 -------- Running X0 (Local)
0 Local B6824CF756765C94FD349DC5CB33F1A9 -------- Running X0 (Local)
NX> 148 Server capacity: not reached for user: .*
NX> 105 listsession --type="shadow"
NX> 127 Sessions list of user '.*' for reconnect:
Display Type Session ID Options Depth Screen Status Session Name
------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------
2003 unix-gnome 1A756A55A57CDF54770F8B251B402EF2 --D--PSA 24 1914x1132 Running me-promis (jd12345) (Shadowed)
2007 unix-gnome 1E9700D9D29407AC6575CAF11EB08232 --D--PSA 24 1274x962 Running cmpc (dff21) (Shadowed)
2000 unix-gnome 1E99E5A6992B831A32A5623A59492E7D --D--PSA 24 1674x994 Running ry232 (ry232) (Shadowed)
2004 unix-gnome B11ABF5A71B1954D812988CA3AB29F56 --D--PSA 24 1914x1132 Suspended Promis Webserver (sb452) (Shadowed)
2006 unix-gnome D58E30C7D948ED691ECD35DF712F39F5 --D--PSA 24 1914x1012 Suspended me-promis (ps629) (Shadowed)
2002 unix-gnome E8DDBC5A076C462C45CCDE52368BE2A0 --D--PSA 24 1274x962 Running me-promis (lb570) (Shadowed)
2001 unix-gnome F99F850D20CB758444ADB09838B165CA --D--PSA 24 1594x1147 Running me-promis (dng24) (Shadowed)
0 Local 461A49E983063F786AD105F529475F36 -------- Running X0 (Local)
0 Local B6824CF756765C94FD349DC5CB33F1A9 -------- Running X0 (Local)
NX> 148 Server capacity: not reached for user: .*
NX> 105 attachsession --link="lan" --backingstore="1" --encryption="1" --cache="16M" --images="64M" --shmem="1" --shpix="1" --strict="0" --composite="1" --media="0" --session="me-promis-shadow" --type="shadow" --client="winnt" --keyboard="pc102/gb" --id="1A756A55A57CDF54770F8B251B402EF2" --display="2003" --geometry="1914x1132" --resize="1"
NX> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL, using backend: 3.5.0)
NX> 700 Session id: me-promis-2003-CE1851695B1C61D4D4A2E63C8A2739B9
NX> 705 Session display: 2003
NX> 703 Session type: shadow
NX> 701 Proxy cookie: 6c154bd6fff3c0fd9b9ebc24ab54a2bb
NX> 702 Proxy IP: 127.0.1.1
NX> 706 Agent cookie: 6c154bd6fff3c0fd9b9ebc24ab54a2bb
NX> 704 Session cache: shadow
NX> 707 SSL tunneling: 1
NX> 105 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/cscs/.nx/F-C-me-promis-2003-CE1851695B1C61D4D4A2E63C8A2739B9/session". You might also want to try: ssh -X myserver; /usr/lib/nx/nxnode --agent to test the basic functionality. Session log follows:
Can't open /var/lib/nxserver/db/running/sessionId{CE1851695B1C61D4D4A2E63C8A2739B9}: No such file or directory.
NX> 1006 Session status: closed
mv: cannot stat `/var/lib/nxserver/db/running/sessionId{CE1851695B1C61D4D4A2E63C8A2739B9}': No such file or directory
NX> 280 Exiting on signal: 15
------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/freenx-knx/attachments/20130522/92f2a236/attachment.html>
More information about the FreeNX-kNX
mailing list