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?
Georges,
I am running Hardy on a remote engine. I am connected with ssh :) . At first, the installation was text only server, so I apt-get install gdm lxde
After, I untar your tarball as you write and I have a “good” /usr/NX
but, infortunatly, when I run:
pierre@banyan:~$ LDLIBRARYPATH=/usr/NX/lib:$LDLIBRARYPATH /usr/NX/bin/nxagent
NXAGENT - Version 3.2.0
Copyright (C) 2001, 2007 NoMachine. See http://www.nomachine.com/ for more information.
Info: Agent running with pid ‘5837’. Session: Starting session at ‘Fri Dec 12 01:05:19 2008’. Error: Aborting session with ‘Unable to open display ”’. Session: Aborting session at ‘Fri Dec 12 01:05:19 2008’. Session: Session aborted at ‘Fri Dec 12 01:05:19 2008’. pierre@banyan:~$
I have problems…
What is the trick?
Hope you’re enjoying Toronto, George!
Installing Etch version on a system with NoMachine nxclient installed, there are file name conflicts in /usr/NX/{bin,lib}
Instead, install in /usr/NXS and change /bin/nxloadconfig line 59 to
run
to check nxagent, andto set up, works for meHi,
I have been trying to get qtnx client working for almost 4 days now, but no luck so far.
Do you have a tarred package for one. I also tried the svn trunk from freenx website.
Thanks
Hi,
Ok so I managed to get the qtnx working on fedora with freeNX (as server) in normal mode.
But I cannot use Qtnx to connect to freenx-server in usermode.
Any suggestions?
Thanks