NX free edition installation on Ubuntu 7.10

By parsek

First, we need to have ssh server installed and running. Just type the following:

apt-get install openssh-server

Now, we need to download deb packages from here. Then install them:

sudo dpkg -i nxclient_3.0.0-84_i386.deb
sudo dpkg -i nxnode_3.0.0-88_i386.deb
sudo dpkg -i nxserver_3.0.0-74_i386.deb

After the installation we need to add a user to nxserver. I am using my regular username which I login to the system.

sudo /usr/NX/bin/nxserver --useradd $username

That’s it. You should be able login to your system by using NX client. Ensure that you have an SSL connection enabled when setting up the connection.

If you want to run SSH and freenx at a different port then you need to change the port numbers at the following files:

sudo nano /etc/ssh/sshd_config
# What ports, IPs and protocols we listen for
Port 22
# Use these options to restrict which interfaces/protocols sshd will bind to
#ListenAddress ::
#ListenAddress 0.0.0.0
Protocol 2

Change the port number and restart the ssh server:
sudo /etc/init.d/ssh restart

Edit the nxserver config file at the two locations where you see SSHDPort:

sudo nano /usr/NX/etc/server.cfg
# Specify the TCP port where the NX server SSHD daemon is running.
#
SSHDPort = "22"


# Specify the TCP port where the SSHD daemon is running on the NX SSH
# authentication server.
#
SSHDAuthPort = "22"

Edit the node config file:

sudo nano /usr/NX/etc/node.cfg
# Specify the TCP port where the NX node SSHD daemon is running.
#
SSHDPort = "22"

Restart the nxserver:
sudo /usr/NX/bin/nxserver --restart

2 Responses to “NX free edition installation on Ubuntu 7.10”

  1. ddd Says:

    this is not FreeNX but NX free – big diferent.

  2. parsek Says:

    It is corrected, thanks.

Leave a Reply