Scotech Scotech
Knowledge Base
[ Home | KB | Tools | Requests? ]


NX 3.4.0 on CentOS 4.x and 5.x


Download and install the NX software from NoMachine.

wget $path/nxclient-3.4.0-7.i386.rpm
wget $path/nxnode-3.4.0-11.i386.rpm
wget $path/nxserver-3.4.0-12.i386.rpm
rpm -ivh nx*

Make any adjustments to your SSH configuration.
(We recommend a custom port for personal servers.)

vi /etc/ssh/sshd_config
#---
Port 22
#---
/etc/init.d/sshd restart

Make any adjustments to the NX configuration.
(Use username and/or password DBs if you prefer.)

vi /usr/NX/etc/server.cfg
#---
SSHDPort = "22"
EnableUserDB = "0"
EnablePasswordDB = "0"
SSHDAuthPort = "22"
#---
/usr/NX/bin/nxserver --restart

Generate a unique public key for your nx account.

/usr/NX/bin/nxserver --keygen
cat /usr/NX/share/keys/default.id_dsa.key

You can either cut and paste the public key into your NX client, or you can copy the file into the directory on your computer where you will store your host keys.



[ Home | KB | Tools | Email: info@scotech.com ]

© 1996-2010 Scotech. All rights reserved.