FreeNX for CentOS

/* Installing NX / FreeNX on the server */

yum install nx freenx

/* Copy a minimal configuration file for nxserver */

cd /etc/nxserver ; cp node.conf.sample node.conf

/* Edit /etc/nxserver/node.conf and change as follows: */

SSHD_PORT=2222   /* Adjust the SSH port if changed */
DISPLAY_BASE=1003 /*  Adjust the display for multiple nx clients */
ENABLE_PASSDB_AUTHENTICATION=”1

/* Edit the /etc/ssh/sshd_config file and change/add the following lines */

PasswordAuthentication no    /* optional */
AllowUsers nx

/* Optional – Add user to nx database */

nxserver –adduser myuser    /* Note myuser already has a posix account */
nxserver –passwd myuser    /* Change password for myuser */

/* Installing the NoMachine Client */

Follow the nx collection wizard for setting up the client, need to copy the key info (client.id_dsa.key) from server and replace it at the client software under “General – Key Management”.

Ref:

http://wiki.centos.org/HowTos/FreeNX