NX free edition installation on Ubuntu 7.10

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 ::
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


3 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.

  3. contraband Says:

    I am trying to get Nx client Shadow to work on my windows pc. I can connect into my Ubuntu Linux 7.10 server and I can see the active desktop, but I can’t control anything on it. Any idea’s why?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: