Thursday, January 19, 2006


FreeNX on RHEL 3

RPMs referred here are available at

1. Install NX and FreeNX rpms
rpm -ivh --nodeps
rpm -ivh --nodeps
2. Setup everything
nxsetup --install --setup-nomachine-key --clean --purge
3. To start/stop use
nxserver --start
nxserver --stop
nxserver --status
Optionally create /etc/init.d/nxserver with following content
# File /etc/init.d/nxserver
# RHEL startup script
[ -f /usr/bin/nxserver ] || { echo "ERROR: /usr/bin/nxserver doesn't exist" ; exit 1; }

function start()
  /usr/bin/nxserver --start
  /usr/bin/nxserver --statistics start
function stop()
  /usr/bin/nxserver --stop
  /usr/bin/nxserver --statistics stop
function restart()
  /usr/bin/nxserver --restart
  /usr/bin/nxserver --statistics restart
case $1 in
  echo "Usage: $0 {start|stop|restart}"
  exit 1
and run the commands
/etc/init.d/nxserver restart
chkconfig nxserver on

After installation, I got an authentication failure. To fix it, I copied node.conf.sample to node.conf. I uncommented the 1st 3 authentication directives, the nxserver path and the nxserver homedir. I then ran "nxsetup --install --setup-nomachine-key". I was able to connect after that.

I am currently using the older NX 1.4 client to connect to my NX server install on RHEL.
I hoped that your instructions could have helped me to get to use the latest nx 2.0 client.

But, I get the following error when I install per your instructions:
# nxsetup --install --setup-nomachine-key --clean --purge
Removing session database ...done
Removing logfile ...done
Removing configuration files ...done
Setting up /etc/nxserver ...done
Generating public/private dsa key pair.
Your identification has been saved in /etc/nxserver/users.id_dsa.
Your public key has been saved in /etc/nxserver/
The key fingerprint is:
7a:6d:bb:55:29:d7:be:39:d3:b5:b5:84:2a:b1:d2:63 root@optlinux1
Setting up /var/lib/nxserver/db ...done
Setting up /var/log/nxserver.log ...done
Setting up user nx ...useradd: unknown group -d
Tom, the bug is that on line 119 of /usr/bin/nxsetup, it should say:

[ -n "$SETUP_GID" ]


[ -n $SETUP_GID ]
Oes Tsetnoc one of the ways in which we can learn seo besides Mengembalikan Jati Diri Bangsa. By participating in the Oes Tsetnoc or Mengembalikan Jati Diri Bangsa we can improve our seo skills. To find more information about Oest Tsetnoc please visit my Oes Tsetnoc pages. And to find more information about Mengembalikan Jati Diri Bangsa please visit my Mengembalikan Jati Diri Bangsa pages. Thank you So much.
Oes Tsetnoc | Semangat Mengembalikan Jati Diri Bangsa
Post a Comment

Links to this post:

Create a Link

<< Home

This page is powered by Blogger. Isn't yours?