nxserver-freenx-0.5.0.20060311-r1 can't be more used with last official NXClient 2.0. With these clients, the following error appears during the connection : NX> 105 startsession --link="lan" --backingstore="1" --nodelay="1" --encryption="1" --cache="8M" --images="32M" --media="0" --session="iknetbouda" --type="unix-kde" --geometry="1280x770" --kbtype="pc102/cz" --screeninfo="1280x770x32+render" NX> 1000 NXNODE - Version 1.5.0-50 OS (GPL) /usr/lib/nx/nxserver: line 1077: 7993 Terminated sleep $AGENT_STARTUP_TIMEOUT NX> 105 NX> 596 Session startup failed. NX> 1004 Error: NX Agent exited with exit status 1. NX> 1006 Session status: closed NX> 700 Session id: iknetbouda-1000-69637874694F0621A3288C1D22FBD50C NX> 705 Session display: 1000 NX> 703 Session type: unix-kde NX> 701 Proxy cookie: 0badf76c0b715b13942d6ee2b443545e NX> 702 Proxy IP: 127.0.0.1 NX> 706 Agent cookie: 0badf76c0b715b13942d6ee2b443545e NX> 704 Session cache: unix-kde NX> 707 SSL tunneling: 1 Can't open /var/lib/nxserver/db/running/sessionId{69637874694F0621A3288C1D22FBD50C}: No such file or directory. mv: cannot stat `/var/lib/nxserver/db/running/sessionId{69637874694F0621A3288C1D22FBD50C}': No such file or directory Killed by signal 15. The problem is solved by a patch in /usr/NX/bin/nxnode as explained in this thread : http://mail.kde.org/pipermail/freenx-knx/2006-August/003848.html or at the botton of this Wiki page : http://openfacts.berlios.de/index-en.phtml?title=FreeNX_FAQ/Problem_Solving In /usr/NX/bin/nxnode, function node_start_agent() after the line [ -n "$backingstore" ] && B="-bs $backingstore" insert these two lines: [ -n "$backingstore" -a "$backingstore" != "1" ] && B="-bs $backingstore" [ -n "$backingstore" -a "$backingstore" = "1" ] && B="+bs"
Thanks. This worked for me. I was using nxserver-freenx-0.5.0.20060311-r1 + xorg-x11-7.1 + Gentoo as server and DSL Linux + NXClient 2.0 as a client. I hope this does not break backward compatibility with 1.5 clients. If it doesn't, this should be in portage tree ASAP. Many web pages erroneously guide you to downgrade X from 7.x to 6.8 to fix this.
nxserver-freenx-0.6.0 is now in portage, with support for NX 2.x clients