FreeNX package
Posted by George Wright Sat, 12 Jul 2008 17:44:00 GMT
In the absence of any sort of reasonably up to date packages for FreeNX, I decided to compile my own and tarball it up on my server.
This is a build of the NoMachine NX 3.2.0 open source components done on Ubuntu Hardy (32-bit) and the scripts from FreeNX are included, so it's an unlimited user server. As it was built on Hardy, only distributions using glibc 2.4 or later are supported, but I've successfully run it on a 64-bit Gutsy installation.
Installation is simple; just untar the package to /usr/NX and then make sure that the command:
$ LD_LIBRARY_PATH=/usr/NX/lib:$LD_LIBRARY_PATH /usr/NX/bin/nxagent
doesn't fail (install any required dependencies if it complains of missing shared libraries), then run:
# /usr/NX/bin/nxsetup --install --setup-nomachine-key
After that has run successfully, you should just be able to log into the server using an NX client (my QtNX in Hardy seems to work fine).
Later I'll upload a build of FreeNX with NX 3.2.0 for older machines (will compile it on Debian Etch).
Update: a build for older glibc versions (tested on Debian Etch) is now available.

George, this rocks. Having struggled with updating crusty old NX installations before, I really appreciate you doing this.
Thanks! –Ed
Hi George, thanks a lot. I will add to the post, you need expect installed if you want auth working. Anyway can you add a little doc about how you made the compilation with all the open source components? Thanks in advance.
Hi George, we set up an FreeNX-Team at Lauchpad for NX/FreeNX packages. Take a look at https://launchpad.net/~freenx-team/+archive
The FreeNX package is missing and will be added someday this week but you can use the one from https://launchpad.net/~marceloshima/+archive
After struggling with the crusty old NX update installations, I really appreciate you, thank you George.
Superb work, i tried to compile it for one week on debian etch. I had a problem that nxagent didn’t compile, everything else did. So thank you very much. As Alex already said it would be nice if you could manage it to post a little howto for compilation or for my part what dev-packages i forgot and are needed. Thanks.
George,
I am also running Ubuntu Hardy on an i386. I downloaded and untarred your file to /usr/NX as instructed. When I attempted to run the command, I got the following:
dad@barney:/usr$ LDLIBRARYPATH=/usr/NX/lib:$LDLIBRARYPATH /usr/NX/bin/nxagent Error: Aborting session with ‘Server is already active for display 0 If this server is no longer running, remove /tmp/.X0-lock and start again’. Session: Aborting session at ‘Fri Aug 22 00:46:08 2008’. Session: Session aborted at ‘Fri Aug 22 00:46:08 2008’.
Any ideas?