If you don’t have the sudo utility installed, log on as superuser («root») and run the commands without sudo.
|Note: click here for detailed instructions on how to install the NX Client, NX Node and NX Server packages. The NX service can be controlled by the command /usr/NX/bin/nxserver –status|–start|–stop|–restart. Additional commands are available to configure the server. Try /usr/NX/bin/nxserver –help for more information. Please, don’t forget to download and read the NX Server Administrator’s Guide available here.
Method 2: FreeNX
In this method we are going to use the FreeNX server. First of all you need to add the FreeNX Team PPA and its coresponding key to your system so the packages can be verified.
Edit your sources list and add the following at the and of the file:
sudo nano /etc/apt/sources.list
Note that i used the lucid one because it is currently the newest provided.
In the next step if you visit the FreeNX Team at lanchpad you will notice the PPA’s key (Signing key: 1024R/D018A4CE). At this point you only need the amount following the slash D018A4CE. You can issue the following command to render the system aware of the key:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys D018A4CE
Now you are free to update and install
sudo apt-get update && sudo apt-get install freenx
Then download and extract the setup script
wget https://bugs.launchpad.net/freenx-server/+bug/576359/+attachment/1378450/+files/nxsetup.tar.gz tar zxvf nxsetup.tar.gz
Finally Install and run the setup script:
sudo cp nxsetup /usr/lib/nx/nxsetup sudo /usr/lib/nx/nxsetup --install
Now go download NoMachine’s NX Client and fill in your boxe’s IP. Dont forget to select Unix-custom and set openbox-session and set New virtual desktop in the settings tab.
[addition: theartofbone] You can add «openbox-session»under the «run the following command» after connecting to get openbox running each time you try to connect..