Nov 202007

Sponsored Link

FreeNX is a system that allows you to access your desktop from another machine over the internet. You can use this to login graphically to your desktop from a remote location. One example of its use would be to have a FreeNX server set up on your home computer, and graphically logging in to the home computer from your work computer, using a FreeNX client.

Terminology You Should know

The Server is the computer you want to connect to. This is the computer where the FreeNX server will need to be installed. The name of the Ubuntu package providing the server is "freenx". For the example used here, the home computer is the server.

The Client is the computer from which you want to be able to access the Server. The name of the Ubuntu package providing the client is "nxclient". For the example used here, the work computer is the client.

Install Required software

NX server needs ssh and some libraries to run. These packages are normally not installed during the basic installation process.Use the following comamnd to install

#aptitude libstdc++2.10-glibc2.2 ssh

Install Free NX Server in Debian Etch

First you need to download the .deb packages using the follwoing commands




Now you need to install .deb packages in the following order this is very important

#dpkg -i nxclient_2.1.0-17_i386.deb

#dpkg -i nxnode_2.1.0-22_i386.deb

#dpkg -i nxserver_2.1.0-22_i386.deb

If you get any errors use the following comamnd to fix

#apt-get -f install

Now you need to make sure ssh and nx servers are running if not start with the following commands

#/etc/init.d/ssh start

#/etc/init.d/nxserver start

Freenx client installation in Windows

First you need to download freenx client from here

In this example i am using freenx client for windows and i have installed in my windows xp machine

Once you finish the installation you should be having freenx shortcut in your desktop now you need to double click on that and you should see the following screen and click next here

Here you need to enter the session name,server name or ipaddress and port number and click next

Now you need to choose your session and screen resolution and click next

Configuration completed screen and click finish

Now you need to enter the username and password you want to connect as and click login

Connection established screen

This will complete the connection to your server

Freenx client installation in Debian

First you need to download the client .deb package using the following command


Install .deb package using the following comamnd

#dpkg -i nxclient_2.1.0-17_i386.deb

If you get any errors use the following comamnd to fix

#apt-get -f install

Now you need to go to Applications-->Internet-->NX Client for Linux --> NX Client for Linux once it opens you can follow the above procedure to connect

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

#vi /etc/ssh/sshd_config


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

#vi /etc/nxserver/node.conf


# The port number where local ‘sshd' is listening.


and change it to:

# The port number where local ‘sshd' is listening.


That is, change the port number to the one that sshd is listening to, and uncomment the line.

Sponsored Link

 Posted by at 8:10 am

  3 Responses to “FreeNX Server and Client Installation in Debian Etch”

  1. This is NX free (only 2 users) not freeNX (GPL)

  2. This article could easily be updated to include the x86_64 versions.

    DL Links can be found at:

    Send me a reply and an email and I’ll update it when I’ve tested it.

  3. Hi

    Ddd is right, not FreeNX but Nomachine NX (NX Free Edition).
    The version of NX Nomachine is limited to 2 users only.
    The FreeNX is free (GPL) and has no limitations.
    You should change the name of your article because it is wrong.

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>