Thursday, January 19, 2006
FreeNX on RHEL 3
RPMs referred here are available at http://www.db.toronto.edu/~nilesh/linux/rpms/RHEL3/.
1. Install NX and FreeNX rpms
1. Install NX and FreeNX rpms
rpm -ivh --nodeps nx-1.5.0-12.el3.at.i386.rpm rpm -ivh --nodeps freenx-0.4.4-6.el3.at.noarch.rpm2. Setup everything
nxsetup --install --setup-nomachine-key --clean --purge3. To start/stop use
nxserver --start nxserver --stop nxserver --statusOptionally 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
start)
start
;;
stop)
stop
;;
restart)
restart
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
;;
esac
and run the commands
/etc/init.d/nxserver restart chkconfig nxserver on
Comments:
<< Home
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.
Hello,
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/users.id_dsa.pub.
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
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/users.id_dsa.pub.
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" ]
...not:
[ -n $SETUP_GID ]
Post a Comment
[ -n "$SETUP_GID" ]
...not:
[ -n $SETUP_GID ]
<< Home

