- Uninstall nx and freenx previously installed through yum.
> yum remove nx freenx
- The previous install of nx/freenx created a user ‘nx’, and the ‘yum remove’ command above failed to delete that user, so I manually removed user ‘nx’.
- Installation of NoMachine’s NX server involves installing 3 packages that depend on each other to function. From this page, I chose the rpm packages.
- Once downloaded, install as usual per rpm:
> rpm -iv nxclient-3.1.0-2.i386.rpm
> rpm -iv nxnode-3.1.0-3.i386.rpm
> rpm -iv nxserver-3.1.0-2.i386.rpm
- Now run the nxserver install script.
> /usr/NX/scripts/setup/nxserver --install
- On your client machine, you should download the nx client from this page appropriate for your platform. Once installed, start the client and configure your connection (ip address, username, etc). More details about the setup, as well as troubleshooting tips, are available on the page I referenced above (here).
- In order to connect from the client machine, the ssh keys must match between client and server. The easiest approach is to generate the key on the server. On the server, issue this command:
> /usr/NX/bin/nxserver --keygen
- The resulting ssh key is stored in /usr/NX/share/keys/default.id_dsa.key. Using your favorite tool, copy the contents of this file to your clipboard. Back on your client machine, within the configuration window, click “Key” on the first tab. Paste the key from your clipboard here.
- Done!! You should be able to start a new session and you’re rolling!