My notes on installing nomachine NX on Debian (Lenny and Squeeze).
1. Download nx client, node and server from http://www.nomachine.com/download-package.php?Prod_Id=3776.
install the packages:
sudo dpkg -i nxclient_3.5.0-7_amd64.deb
sudo dpkg -i nxnode_3.5.0-9_amd64.deb
sudo dpkg -i nxserver_3.5.0-11_amd64.deb
On Debian squeeze, the nxnode and nxserver packages were unable to detect the operating system correctly, throwing the following error:
704 ERROR: Unable to autodetect the operating system type, please specify it
This can be corrected by modifying /var/lib/dpkg/nxnode.postinst and nxserver.postinst, adding "debian" to the install/update commands as follows:
if [ "$2" != "" ];
if [ -f "$NODE_ROOT/etc/node.conf" -o -f "$NODE_ROOT/etc/node.cfg" ];
/usr/NX/scripts/setup/nxnode --update debian
/usr/NX/scripts/setup/nxnode --install debian
Furthermore, on debian the keys you'll need to log in will be at /usr/NX/etc/keys.
The private key needs to be copied to your clients in order to log on.
The public key has to be authorized for the nx user as follows:
Don't forget to restart nxserver if needed:
sudo cat /usr/NX/etc/keys/*.pub >> /usr/NX/home/nx/.ssh/authorized_keys2
NX uses ssh to localhost to authenticate passwords. This means you need to have password logon enabled in your sshd_config. Alternatively you can provide an additional sshd server instance which has passwords enabled and is only active on your local network or host.
That's it, nomachine NX is now up and running.