Pandemonium
Lijsterbeslaan 3
B-2940 Stabroek, Belgium
IBAN: BE78 9794 3692 5286
BIC: ARSPBE22XXX
KBO: 0314.595.348
VAT: BE 0 881.023.185
request blrootsales@pandemonium.be
ID:  Pass:    [ Not logged in. ]

 Nomachine NX setup 
 Dave Driesen
Joined 2007-05-18 20:59:14.
(3748 Days old)

Nomachine NX setup

Posted on: 2012-06-20 02:00:47 
IP: Logged 

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.

wget http://64.34.161.181/download/3.5.0/Linux/nxclient_3.5.0-7_amd64.deb
wget http://64.34.161.181/download/3.5.0/Linux/nxnode_3.5.0-9_amd64.deb
wget http://64.34.161.181/download/3.5.0/Linux/FE/nxserver_3.5.0-11_amd64.deb

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:

#!/bin/sh
NODE_ROOT="/usr/NX"
if [ "$2" != ""  ];
then
  /usr/NX/scripts/setup/nxnode --update
else
  if [ -f "$NODE_ROOT/etc/node.conf" -o -f "$NODE_ROOT/etc/node.cfg" ];
  then
    /usr/NX/scripts/setup/nxnode --update debian
  else
    /usr/NX/scripts/setup/nxnode --install debian
  fi
fi

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:

sudo cat /usr/NX/etc/keys/*.pub >> /usr/NX/home/nx/.ssh/authorized_keys2
Don't forget to restart nxserver if needed:

/etc/init.d/nxserver restart

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.

  Showing entry "Nomachine NX setup".
Pandemonium 2009


These pages are the intellectual property of the Pandemonium crew.
Welcome to Pandemonium.be - Antwerp based development studio providing development and administration services. Developers and maintainers of the Pyromasaur 3D framework.
Secure
"