[FreeNX-kNX] Clients cannot connect on server

Gael Varoquaux gael.varoquaux at normalesup.org
Wed Aug 1 09:05:01 UTC 2007


Hi,

I had a freeNX server on a server (call it digamma). It is a ubuntu
feisty and was running freeNX 0.4 from dapper-seveas repository. I
upgraded to freeNX 0.6 from feisty-seveas repository and the freeNX
server stopped working (understand: no clients can connect, more on that
later). I downgraded, ... same problem.

I have a loggin on another box (call it aramis), that is an ubuntu
feisty, reinstalled from scratch recently (digamma has a long history of
upgrades). On this box there is a freeNX 0.6 from dapper-seveas,
installed with noting fancy (the admin of the box is on holdays
currently, so I can't ask questions) and it just works. So it does seem
it is a problem of the server.

I had a good look at what could be the differences between the two boxes,
and tried to minimize them, but no success.

To is pretty bad as we have a thin-client/fat-server setup = single point
of failure, and I am the only competent guy around.

If you have ideas to help me debug this, I would be great. Here are the
different logs:

**** errors ****
Proxy: WARNING! Failure detected while trying to handle a partial message
for proxy FD#8.
Loop: PANIC! No shutdown of proxy link performed by remote proxy.
NXTransKeeper: WARNING! Parent process appears to be dead. Exiting
keeper.

**** session ****
NXPROXY - Version 2.1.0

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

Info: Proxy running in client mode with pid '23099'.
Session: Starting session at 'Wed Aug  1 10:17:21 2007'.
Info: Connecting to remote host 'digamma:5001'.
Info: Connection to remote proxy 'digamma:5001' established.
Info: Synchronizing local and remote caches.
Info: Handshaking with remote proxy completed.
Info: Using adsl link parameters 512/24/1/0.
Info: Using cache parameters 4/4194304/8192KB/8192KB.
Info: Using image streaming parameters 50/128/1024KB/2048/256.
Info: Using image cache parameters 1/1/32768KB.
Info: Using pack method '16m-jpeg-7' with session 'unix-gnome'.
Info: Using ZLIB data compression 3/3/0.
Info: Using ZLIB stream compression 6/6.
Info: No suitable cache file found.
Info: Using remote server 'digamma:5001'.
Info: Listening for font server connections on port '11001'.
Session: Session started at 'Wed Aug  1 10:17:21 2007'.
Info: Established X server connection.
Info: Using shared memory parameters 1/2048K.
Error: Connection with remote peer broken.
Error: Please check the state of your network and retry.
Session: Session terminated at 'Wed Aug  1 10:17:22 2007'.
Warning: Parent process appears to be dead. Exiting keeper.

**** options ****
nx,cookie=ef02bedeadf256af1f58897746fc9bc3,root=/home/varoquau/.nx,font=1,encryption=0,session=session,client=linux,id=digamma-1001-311ECFF13B9474753134E4B42C068AA7,connect=digamma:1001

**** nxserver.log ****
-- NX SERVER START: -c /usr/lib/nx/nxserver - ORIG_COMMAND=
HELLO NXSERVER - Version 1.5.0-60 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: varoquau
NX> 102 Password: 
Info: Auth method: passdb ssh 
NX> 103 Welcome to: digamma user: varoquau
NX> 105 listsession --user="varoquau" --status="suspended,running"
--geometry="1280x1024x24+render" --type="unix-gnome"
NX> 127 Sessions list of user 'varoquau' for reconnect:

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


NX> 148 Server capacity: not reached for user: varoquau
NX> 105 startsession  --link="adsl" --backingstore="1" --nodelay="1"
--cache="8M" --images="32M" --media="0" --session="digamma"
--type="unix-gnome" --geometry="1280x972" --kbtype="pc105/fr"
--screeninfo="1280x972x24+render" 

&link=adsl&backingstore=1&nodelay=1&cache=8M&images=32M&media=0&session=digamma&type=unix-gnome&geometry=1280x972&kbtype=pc105/fr&screeninfo=1280x972x24+render&clientproto=1.5.0&user=varoquau&userip=129.175.94.113&uniqueid=3150526FC312F609C3819D74415E8DDA&display=1001&host=127.0.0.1 
varoquau at 127.0.0.1's password: 
NX> 1000 NXNODE - Version 1.5.0-60 OS (GPL)
NX> 1009 Session status: starting
NX> 700 Session id: digamma-1001-3150526FC312F609C3819D74415E8DDA
NX> 705 Session display: 1001
NX> 703 Session type: unix-gnome
NX> 701 Proxy cookie: f38b0504cd8db9708985f8c8b4e45f1d
NX> 702 Proxy IP: 129.175.94.113
NX> 706 Agent cookie: f38b0504cd8db9708985f8c8b4e45f1d
NX> 704 Session cache: unix-gnome
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> 1004 Error: NX Agent exited with exit status 1.
NX> 1006 Session status: closed
NX> 596 Session startup failed.
NX> 1001 Bye.


Logging on the server through ssh -X, running:
 
/usr/lib/nx/nxagent :1001 &
/usr/bin/dbus-launch --sh-syntax --exit-with-session gnome-session --display :1001

does open a nested x server with gnome running on it.

I am out of ideas, any help diagnosing this would be most appreciated.

Cheers,

Gaël



More information about the FreeNX-kNX mailing list