This guide shows you how to install FreeNX on Ubuntu Server Feisty Fawn 7.04 and also how to install the client.
First up, we need to grab the packages from NoMachine (This first time around I tried to use the Seveas repositories, but I had some trouble getting it to work, so we'll just use the .deb packages from Nomachine).
First up, lets create a directory to drop these all into:
Now to grab the required packages:
mkdir freenx && cd freenx
Now that we have all our packages, lets install them.
sudo dpkg -i nxclient_2.1.0-17_i386.deb && sudo apt-get -f install
Note: we install NX Client first since NX Node and NX Server depend on it
sudo dpkg -i nxnode_2.1.0-22_i386.deb nxserver_2.1.0-22_i386.deb
We now have our packages installed, next up we want to install the desktop environment, I'm a Kubuntu user, so we'll use KDE.
Apt will now install a whole swatch of packages, so go make some tea
sudo apt-get install kde
When that completes, we're going to open up the nx configuration file to make some tweaks.
Locate the following line:
Uncomment it to look like this:
This configures NX Server to tunnel through ssh for security.
Next, we're going to locate this line:
and uncomment it to look like this:
We have now enabled a KDE connection.
Now that we have modified the configuration file to what we desire, we're going to run the nxsetup process.
thanks to beemer for that note
sudo /usr/NX/scripts/setup/nxserver --install debian
Congratulations! We have now setup NX Server! to test it out, we can connect to it from another computer.
I used the NX Client from the Seveas Repositories.
To setup the nx client, add the following repositories to your sources.list file.
now install nxclient
sudo nano /etc/apt/sources.list
now start nxclient by hitting alt+f2 to bring up the run dialoug box and type in 'nxclient' then hit enter.
sudo apt-get update && sudo apt-get install nxclient
I believe the NX Connection Wizard will appear, choose a hostname and specify the IP of your server
Click Next, and then check the box to enable SSL encryption. Click Next again then finish.
Enter your login credentials, and the NX client will now connect and present you with a login session!