[FreeNX-kNX] Connection to freenx fails from nomachine client

Anuradha Ratnaweera gnu.slash.linux at gmail.com
Tue Nov 8 09:59:52 UTC 2005


Hi all,

I have an up to date Debian unstable box which used to run freenx
1.4.x (my DEBs with a backported GLX patch is here
http://www.linux.lk/~anuradha/nx/) installed and was connecting to it
using the nomachine clients (both Linux and Windows) without any
problems.

Recently, after a major "dist upgrade", it wasn't possible to connect
to the server.  Without digging into the matter much, I upgraded to
1.5 using this apt source:

   http://debian.tu-bs.de/project/kanotix/unstable

and got hold of the latest client from Nomachine.  Still it's not
possible to connect.  After some time, the client reports that the
network connection was lost and here is the log at the client:


Info: Proxy running in client mode with pid '7266'.
Info: Connecting to remote host '10.2.2.1:5001'.
Info: Connection to remote proxy '10.2.2.1:5001' established.
Info: Synchronizing local and remote caches.
Info: Handshaking with remote proxy completed.
Info: Using cache parameters 4/262144/8192KB/8192KB.
Info: Using image cache parameters 1/1/32768KB.
Info: Using wan link parameters 16384/8/4/20.
Info: Using pack method '16m-jpeg-9' with session 'unix-kde'.
Info: Using ZLIB data compression level 1.
Info: Using ZLIB data threshold set to 32.
Info: Not using ZLIB stream compression.
Info: Using remote ZLIB data compression level 1.
Info: Not using remote ZLIB stream compression.
Info: No suitable cache file found.
Info: Using remote server '10.2.2.1:5001'.
Info: Starting X protocol compression.
Info: Established X server connection.
Info: Using shared memory support in X server.
Error: Lost connection to peer proxy on FD#12.
Error: Connection with remote peer broken.
Error: Please check the state of your network and retry.


However, KDE starts up on the server.  Here is the output of
/var/log/nxserver.log :


-- NX SERVER START: -c /usr/lib/nx/nxserver
HELLO NXSERVER - Version 1.4.0-45-SVN 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: anuradha
NX> 102 Password:
Info: Auth method: passdb ssh
NX> 103 Welcome to: penguin user: anuradha
NX> 105 listsession --user="anuradha" --status="suspended,running"
--geometry="1024x768x24+render+fullscreen" --type="unix-kde"
NX> 127 Sessions list of user 'anuradha' for reconnect:

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

NX> 148 Server capacity: not reached for user: anuradha
NX> 105 startsession --session="Penguin" --type="unix-kde"
--cache="8M" --images="32M" --cookie="******" --link="wan"
--kbtype="pc105/defkeymap" --nodelay="1" --backingstore="never"
--geometry="fullscreen" --media="0" --agent_server="" --agent_user=""
agent_password="******""  --screeninfo="1024x768x24+render+fullscreen"

&session=Penguin&type=unix-kde&cache=8M&images=32M&cookie=******&link=wan&kbtype=pc105/defkeymap&nodelay=1&backingstore=never&geometry=fullscreen&media=0&agent_server=&agent_user=&agent_password=******&screeninfo=1024x768x24+render+fullscreen&clientproto=1.5.0&user=anuradha&userip=10.2.3.21&uniqueid=9C5BFD6307D16A9512218DA2A0F42304&display=1001
Password:
NX> 1000 NXNODE - Version 1.4.0-45-SVN OS (GPL)
NX> 700 Session id: penguin-1001-9C5BFD6307D16A9512218DA2A0F42304
NX> 705 Session display: 1001
NX> 703 Session type: unix-kde
NX> 701 Proxy cookie: 16e85e8130441bf10befa3287eb0c329
NX> 702 Proxy IP: 10.2.2.21
NX> 706 Agent cookie: 16e85e8130441bf10befa3287eb0c329
NX> 704 Session cache: unix-kde
NX> 707 SSL tunneling: 0
NX> 710 Session status: running
NX> 1002 Commit
NX> 1006 Session status: running
NX> 105 bye
Bye
NX> 999 Bye
NX> 1001 Bye.
NX> 105 NX> 1009 Session status: terminating
NX> 1006 Session status: closed
NX> 1001 Bye.


I have tried enabling and disabling 1.5 backend and some tracing on
the server, but can't figure out the exact problem.  Any clues? 
Thanks in advance!

        Anuradha
--
http://anuradha-ratnaweera.blogspot.com
http://www.linux.lk/~anuradha/



More information about the FreeNX-kNX mailing list