Installing NXServer to Ubuntu Feisty Fawn

Just installed the Ubuntu Feisty Server to a new machine and remote access is one of the first few things that I need. Below are the steps I have taken. I am by no means the original author that figure out the installation process but I am providing a summary and solution on the different issues that you may encounter.


  1. Download the NXClient, NXNode and NXServer from the website of Nomachine, you can use the DEB version provided. The sequence DOES matter, so, please follow accordingly.

    • Install nxclient
    • Install nxnode
    • Install nxserver

  2. Load up your /etc/ssh/sshd_config file into an editor:


    sudo nano /etc/ssh/sshd_config



    Add the following line & save the file


    AuthorizedKeysFile /usr/NX/home/nx/.ssh/authorized_keys2



    Restart sshd by typing:


    sudo /etc/init.d/ssh restart



  3. Done! Now verify NXServer is running properly by typing:


    sudo /usr/NX/bin/nxserver --status



    This should return:


    NX> 900 Connecting to server ..
    NX> 110 NX Server is running.
    NX> 999 Bye.



  4. Now comes to the part that ppl start having problem, configure the NXClient on your client machine, start the connection and after the point of "Authentication", the whole client apps disappear. The fix is sort of funny, it is done by adding a hostname "unix" to the host file, example as follows,


    127.0.0.1 localhost unix



    The reason for the change is NXServer tries to look for the display from unix:xxxx and the system cannot resolve the host name "unix" which results in failed connection.

  5. It works OK already in the local network but I find myself failed to get back to the office from home. I get an error message like


    "Could not yet establish the connection to the remote proxy"



    By digging around the web, I noticed an article from Nomachine.

    The error is due to a firewall was set in between my home and office machine. By turning on the SSL flag on my OS X client and the connection can be established right away.


By following these, you should have the NXServer installed properly. But you may want to join the discussion if you still encounter problems upon following the procedures. Below are the 2 that I locate all the information above, kudos to the contributer over there.

Step by step guide and also discussion on the installation process

This thread discuss the issue of the client that cannot connect to the server