[FreeNX-kNX] FreeNX server stopped accepting connections

John Medway, Rim Semiconductors jmedway at rimsemi.com
Mon Dec 10 21:24:21 UTC 2007


Doubtless something I did not wire up correctly, as this was working just 
fine, and then a server reboot broke the ability to connect to nxserver.

Anyway, client is fine talking with other machines, ssh to the other 
machine as nx works without password, etc. But when trying to connect via 
the noMachine client, all seems fine up until it reports 'Established the 
Display connection' and then splat 'The connection with the remote server 
was shut down. Please check the state of your network connection.'

I get this in the server log file:


>-- NX SERVER START:  - ORIG_COMMAND=
>HELLO NXSERVER - Version 1.5.0-70 OS (GPL)
>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: john
>NX> 102 Password:
>Info: Auth method: passdb ssh
>NX> 103 Welcome to: _HOSTNAME_DELETED_ user: john
>NX> 105 listsession --user="john" --status="suspended,running" 
>--geometry="1600x1200x32+render" --type="unix-default"
>NX> 127 Sessions list of user 'john' for reconnect:
>
>Display Type             Session ID                       Options  Depth 
>Screen         Status      Session Name
>------- ---------------- -------------------------------- -------- ----- 
>-------------- ----------- ------------------------------
>
>
>NX> 148 Server capacity: not reached for user: john
>NX> 105 startsession  --virtualdesktop="1" --link="adsl" 
>--backingstore="1" --encryption="1" --cache="16M" --images="64M" 
>--media="1" --mediahelper="esd" --session="Home-NX" --type="unix-default" 
>--geometry="1400x900" --kbtype="pc102/en_US" --screeninfo="1400x900x32+render"
>
>&virtualdesktop=1&link=adsl&backingstore=1&encryption=1&cache=16M&images=64M&media=1&mediahelper=esd&session=Home-NX&type=unix-default&geometry=1400x900&kbtype=pc102/en_US&screeninfo=1400x900x32+render&clientproto=1.5.0&user=john&userip=_IP_ADDRESS_DELETED_&uniqueid=26101BADF493F759A505574D430E2BAE&display=1000&host=127.0.0.1 
>
>john at 127.0.0.1's password:
>NX> 1000 NXNODE - Version 1.5.0-70 OS (GPL)
>server_nxnode_echo: NX> 1000 NXNODE - Version 1.5.0-70 OS (GPL)
>NX> 700 Session id: _HOSTNAME_DELETED_-1000-26101BADF493F759A505574D430E2BAE
>NX> 705 Session display: 1000
>NX> 703 Session type: unix-default
>NX> 701 Proxy cookie: 8d6e7bb68d84c1adeec77d795d8c7b1d
>NX> 702 Proxy IP: 127.0.0.1
>NX> 706 Agent cookie: 8d6e7bb68d84c1adeec77d795d8c7b1d
>NX> 704 Session cache: unix-default
>NX> 707 SSL tunneling: 1
>server_nxnode_echo: NX> 700 Session id: 
>_HOSTNAME_DELETED_-1000-26101BADF493F759A505574D430E2BAE
>server_nxnode_echo: NX> 705 Session display: 1000
>server_nxnode_echo: NX> 703 Session type: unix-default
>server_nxnode_echo: NX> 701 Proxy cookie: 8d6e7bb68d84c1adeec77d795d8c7b1d
>server_nxnode_echo: NX> 702 Proxy IP: 127.0.0.1
>server_nxnode_echo: NX> 706 Agent cookie: 8d6e7bb68d84c1adeec77d795d8c7b1d
>server_nxnode_echo: NX> 704 Session cache: unix-default
>server_nxnode_echo: NX> 707 SSL tunneling: 1
>NX> 1009 Session status: starting
>NX> 710 Session status: running
>NX> 1002 Commit
>NX> 1006 Session status: running
>server_nxnode_echo: NX> 1009 Session status: starting
>server_nxnode_echo: NX> 710 Session status: running
>server_nxnode_echo: NX> 1002 Commit
>session_status 26101BADF493F759A505574D430E2BAE Running
>server_nxnode_echo: NX> 1006 Session status: running
>NX> 105 bye
>Bye
>NX> 999 Bye
>NX> 1004 Error: NX Agent exited with exit status 1. To troubleshoot set 
>SESSION_LOG_CLEAN=0 in node.conf and investigate 
>"/home/john/.nx/F-C-_HOSTNAME_DELETED_-1000-26101BADF493F759A505574D430E2BAE/session". 
>You might also want to try: ssh -X myserver; /usr/libexec/nx/nxnode 
>--agent to test the basic functionality. Session log follows:
>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/john/.nx/F-C-_HOSTNAME_DELETED_-1000-26101BADF493F759A505574D430E2BAE/session". 
>You might also want to try: ssh -X myserver; /usr/libexec/nx/nxnode 
>--agent to test the basic functionality. Session log follows:
>_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
>
>NXAGENT - Version 2.1.0
>
>Copyright (C) 2001, 2006 NoMachine.
>See http://www.nomachine.com/ for more information.
>
>Info: Agent running with pid '5144'.
>Session: Starting session at 'Mon Dec 10 12:16:53 2007'.
>Info: Proxy running in server mode with pid '5144'.
>Info: Waiting for connection from '127.0.0.1' on port '5000'.
>Info: Accepted connection from '127.0.0.1' with port '42206'.
>Info: Connection with remote proxy established.
>Warning: Connected to remote NXPROXY version 3.0.0 with local version 2.1.0.
>Warning: Consider checking http://www.nomachine.com/ for updates.
>Info: Synchronizing local and remote caches.
>Info: Handshaking with remote proxy completed.
>Error: Call to bind failed for media TCP port 8000. Error is 98 'Address 
>already in use'.
>
>Fatal server error:
>Error: Unable to open display 
>'nx/nx,options=/home/john/.nx/C-_HOSTNAME_DELETED_-1000-26101BADF493F759A505574D430E2BAE/options:1000'.
>
>XIO:  fatal IO error 104 (Connection reset by peer) on X server 
>"unix:1000.0"^M
>       after 0 requests (0 known processed) with 0 events remaining.^M
>XIO:  fatal IO error 104 (Connection reset by peer) on X server 
>"unix:1000.0"^M
>       after 0 requests (0 known processed) with 0 events remaining.^M
>XIO:  fatal IO error 104 (Connection reset by peer) on X server 
>"unix:1000.0"^M
>       after 0 requests (0 known processed) with 0 events remaining.^M
>XIO:  fatal IO error 104 (Connection reset by peer) on X server 
>"unix:1000.0"^M
>       after 0 requests (0 known processed) with 0 events remaining.^M
>NX> 1006 Session status: closed
>NX> 1001 Bye.
>session_close 26101BADF493F759A505574D430E2BAE
>server_nxnode_echo: NX> 1006 Session status: closed
>server_nxnode_echo: NX> 1001 Bye.







More information about the FreeNX-kNX mailing list