From a clean install of Ubuntu/Hoary, I used the following to build FreeNX from source. This also works with Debian/Sarge.
Add the following to your apt source.list and run an update:
deb http://debian.tu-bs.de/project/kanotix/unstable/ ./
deb-src http://debian.tu-bs.de/project/kanotix/unstable/ ./
Install the following build-depends packages:
sudo apt-get install cdbs autotools-dev patchutils autoconf bzip2 zlib1g-dev libpng12-dev libjpeg-dev xlibs-dev libfreetype6-dev libmikmod2-dev libssl-dev libxaw7-dev automake1.9
On Debian sarge you might need this as well:
sudo apt-get install build-essential
Pull the sources (~40Mb):
apt-get source nx freenx.
Build the debs:
cd nx-1.4.0.2; fakeroot dpkg-buildpackage -b; cd ..; sudo dpkg -i *.deb; cd freenx-0.4.0/; fakeroot dpkg-buildpackage -b; cd .. ; sudo dpkg -i freenx_0.4.0-0pre1_all.deb .
Bob’s your uncle.
I’ve got FreeNX working well in a Xen based instance of Hoary using the FreeNX defaults with the !M keys. I’m able to connect from the three !M NX clients I tried: Linux, Windows and OSX. Sound was working with the Windows client, it required the esound daemon. I found this a little chompy, and turned it off for now. I haven’t tried this with the Linux client yet. There are a couple notes here about LTSP and sound that I might investigate at a later stage. Session suspend works, although with OSX it seems you have to kill the X11 server, as the NX client itself refuse listen to the close button.
Its possible to use a similar process for nxclient at:
deb-src http://kanotix.com/files/debian/ ./