FreeNX server setup on Debian Lenny Sid Server
April 24, 2008 by tibor
Create folder for freenx packages:
$cd ~
$mkdir freenxpkg
Download all packages manually (one by one) from http://krnl.nl/freenx/ to ~/freenxpkg/
Add the following line listed below to your /etc/apt/source.list:
$su -
#nano -w /etc/apt/sources.list
Type the following line at the bottom of the sources.list file “deb file:/home/username/freenxpkg/ ./” (without the quotes)
#apt-get update
#apt-get install freenx
Optional Configuration
Changing SSH port Number
By default, nxserver uses port 22 for communicating over SSH. On some machines or networks, port 22 may be blocked. For example, some providers block port 22. To make the SSH server listen on port 8888, you can do the following:
Edit the file /etc/ssh/sshd_config
#nano -w /etc/ssh/sshd_config
Find Port 22 and change it to Port 8888
You then need to restart SSHD. Try
#/etc/init.d/ssh restart
Edit the file /etc/nxserver/node.conf
#nano -w /etc/nxserver/node.conf
Find # The port number where local ’sshd’ is listening.
#SSHD_PORT=22 and change it to:
# The port number where local ’sshd’ is listening.
SSHD_PORT=8888
That is, change the port number to the one that sshd is listening to, and uncomment the line.
P.S.: You can also download all the freenx files as one zipped up package from: http://www.milehighlinux.com/freenx.zip


