[FreeNX-kNX] Hanging at resume

Lukas Haase lukashaase at gmx.at
Tue Nov 12 07:17:56 UTC 2013


Hi all,

I spent a couple of hours yesterday and finally .... I got FreeNX
working :) together with the official NX client 3.5 on Windows.

Server is an Ubuntu rary without root privileges and I set up for usermode.

It works more or less ... but about every 2nd reconnection fails.

The errors I get after resuming are:

NX> 1000 NXNODE - Version 3.2.0-73 OS (GPL, NX4U Edition, using backend:
3.2.0)
NX> 700 Session id: server-1006-21984185F28736130A049345234FC3A5
NX> 705 Session display: 1006
NX> 703 Session type: unix-application
NX> 701 Proxy cookie: 98968970197b585bd49a15cf65e19570
NX> 702 Proxy IP: *
NX> 706 Agent cookie: 98968970197b585bd49a15cf65e19570
NX> 704 Session cache: unix-application
NX> 707 SSL tunneling: 1
NX> 596 Error: Session restore failed. Reason was: Session: Display
failure detected at 'Mon Nov 11 23:10:44 2013'.
NX> 1001 Bye.

or, after the second time:

[...]
nx 1004 error session did not start.
nx 596 session resume failed

or

1009 Session status: suspending
NX> 1009 Session status: suspending
NX> 1009 Session status: suspending
[...]

Or just:

NX> 1000 NXNODE - Version 3.2.0-73 OS (GPL, NX4U Edition, using backend:
3.2.0)
/home/luke/NX4U/bin/nxserver: line 1547: 32452 Terminated
sleep $AGENT_STARTUP_TIMEOUT
NX> 105 NX> 596 Session startup failed.

I tried to debug for hours but now I am on my end. The essential problem
is that nxnode times out without any more error messages other than the
one above. The log does not contain error messages either.

Based on that I just tried to execute manually to debug it. But there is
no output other than that and afterwards it hangs:

echo
'&rootless=1&virtualdesktop=0&application=xterm&link=lan&backingstore=1&encryption=1&cache=16M&images=64M&shmem=1&shpix=1&strict=0&composite=1&media=0&session=corn&type=unix-application&client=winnt&kbload=pc102/en_US&keymap=en_US&keyboard=pc102/en_US&aux=1&id=21984185F28736130A049345234FC3A5&virtualdesktop=1&clientproto=&user=luke&userip=xxx.xxx.xxx.xxx&uniqueid=21984185F28736130A049345234FC3A5&display=1006&status=Suspended'
| nxnode --resumesession

NX> 700 Session id: server-1006-21984185F28736130A049345234FC3A5
NX> 705 Session display: 1006
NX> 703 Session type: unix-application
NX> 701 Proxy cookie: 52fac767dacb54788db57499fec0dacd
NX> 702 Proxy IP: xxx.xxx.xxx.xxx
NX> 706 Agent cookie: 52fac767dacb54788db57499fec0dacd
NX> 704 Session cache: unix-application
NX> 707 SSL tunneling: 1


Any ideas? Any ideas where I could continue debugging?


Any help/hints greatly appreciated!

Thanks
luke






More information about the FreeNX-kNX mailing list