source: https://help.ubuntu.com/community/FreeNX
add the following lines (replace VERSION with intrepid if you’re running 8.10) to your /etc/apt/sources.list
deb http://ppa.launchpad.net/freenx-team/ubuntu VERSION main
deb-src http://ppa.launchpad.net/freenx-team/ubuntu VERSION main
then update your repository informations and install freenx
sudo apt-get update
sudo aptitude install freenx
to have a opensource client:
sudo aptitude install qtnx
otherwise use the client from NoMachine
to stop and start freeNX
sudo /etc/init.d/freenx-server stop
sudo /etc/init.d/freenx-server start
Configuring SSH port
By default, nxserver uses port 22 for communicating over SSH. On some machines or networks, port 22 may be blocked; some Internet providers block port 22, for instance. Port 22 is also a common target of people trying to crack into a network. To make the SSH server listen on port 8888, you can do the following: