I’ve just installed FreeNX on my home Linux box and it was quite straightforward. Here’s what I did.
1) Start up a teminal and type:
Add the following to the source.list text file:
deb http://free.linux.hp.com/~brett/seveas/freenx feisty-seveas freenx
deb-src http://free.linux.hp.com/brett/seveas/freenx feisty-seveas freenx
Then goto this site and follow the rest of the instructions from the part that says “Add the GPG key:”
Alternatively you can follow the instructions below, I’ve just written them as a reminder to myself but feel free use the information below.
Installing the FreeNX server
1) Follow the steps above first.
Add the GPG key:
Then Update Apt
After you add the repository, then install the freenx package.
(Using aptitude to install extra needed packages)
For Ubuntu 6.10 no new prebuilt packages have been released, but the FreeNX server included in the 6.06 package does work with 6.10.
During installation you will be given the option to select NoMachine keys, or custom keys. It is best to select NoMachine keys. For the paranoid: there is absolutely NO added security risk involved in using the default keys. Read an [WWW] SSL primer if you want to know the details about why this is the case
On the server, add your user to nxserver
sudo nxserver –adduser
sudo nxserver –passwd
sudo nxserver –restart
[Note: I don't know if this is still needed, but it helps - JeremySchroeder]
Configuring SSH
By default, nxserver uses port 22 for communicating over SSH. On some machines or networks, port 22 may be blocked. For example, some providers block port 22. To make the SSH server listen on port 8888, you can do the following:
Edit the file /etc/ssh/sshd_config
Find
Port 22
and change it to
Port 8888
You then need to restart SSHD. Try
Edit the file /etc/nxserver/node.conf
Find
#SSHD_PORT=22
and change it to:
SSHD_PORT=8888
That is, change the port number to the one that sshd is listening to, and uncomment the line.