Here are the quick steps. I am planning to set this up on all my boxes:
- Make sure what the release of RHEL or any other flavor of linux you are running is by typing the following command: cat /etc/*-release
- Get into a temporary folder where you can download all the binaries (e.g /tmp)
- Go to the Centos site to find the binaries for freenx, nx and expect which will work for you. After a bit of checking I found that CentOS release numbers are matched up with their RHEL counterparts, so I downloaded the packages for the CentOS 5.X releases:
- wget http://mirror.centos.org/centos/5/extras/i386/RPMS/freenx-0.7.3-4.el5.centos.i386.rpm
- wget whttp://mirror.centos.org/centos/5/extras/i386/RPMS/nx-3.4.0-4.el5.centos.i386.rpm
- Now install these rpms as follows:
- rpm -Uvh nx-3.4.0-4.el5.centos.i386.rpm
- rpm -Uvh freenx-0.7.3-4.el5.centos.i386.rpm
- This may tell you that you need expect. So download and install it as well
- wget http://mirror.centos.org/centos/5/os/i386/CentOS/expect-5.43.0-5.1.i386.rpm
- rpm -Uvh expect-5.43.0-5.1.i386.rpm
Note: The client key is located on the server at:
/var/lib/nxserver/home/.ssh/client.id_dsa.key
and I found most of the other dependencies for RHEL 5 here (for some reason my yum update wouldnt work):
http://mirror.centos.org/centos/5/os/i386/CentOS/Ciao and enjoy!