Posted by Vince Wadhwani on Aug 23, 2006

May 2008: An update for Hardy Heron is located here.

I had no idea that NoMachine had updated their NX packages to 2.0. This is not news to some of you but it was to me. NX Server is a great package that provides quick remote access to different platforms from different platforms. (Note that NX Server is the same tech but is not the same as FreeNX which is the open source version.) I use NX to test GUI apps on my GNU/Linux servers from Mac OS X or other linux desktops. Version 1.5 for MacOS was giving a problem where the colors were messed up. Version 2.0 fixes that. Here's how to update your servers if you are having that problem:

As always, let's start off by making sure your server is up to date and that you have the required ssh server:

sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install openssh-server

Once your packages and updates, if any, have been downloaded and installed, visit these pages from NoMachine to grab their free NX Server packages. You will need 3 packages to install NX Server:

  1. NX Node
  2. NX Client
  3. NX Server

In each case there will be multiple choices. Make sure you download the version that says DEB else you'll end up with something that won't work as easily on Ubuntu.

Now that you have all the packages it's time to install. Open up your terminal and cd into the directory where you downloaded the above files. We're going to install them in the same order they were downloaded. In each case, make sure you use the name of your file as opposed to what I type here as you may have downloaded a more recent version than what I did.

sudo dpkg -i nxnode_2.0.0-100_i386.deb
sudo dpkg -i nxclient_2.0.0-98_i386.deb
sudo dpkg -i nxserver_2.0.0-76_i386.deb

You should now have the latest version of NX Server installed! I'm not sure if version 1.5 of the client will work with v2.0 of Server but why not just grab the latest client anyway?

Update: What do do in case of trouble.

If you have a problem of any kind, I would suggest removing your previous install completely and reinstalling from scratch. It's harmless and solved a problem I was having with a different server. Here's how I did it:

  1. sudo apt-get remove nxserver
  2. sudo apt-get remove nxnode
  3. sudo apt-get remove nxclient
  4. rm -rf /etc/nxserver
  5. rm -rf /usr/NX
  6. reboot (just in case..)
  7. sudo dpkg -i nxclient_2.0.0-98_i386.deb
  8. sudo dpkg -i nxnode_2.0.0-100_i386.deb
  9. sudo dpkg -i nxserver_2.0.0-76_i386.deb
  10. log in using v 2.0 of the client

Hope that helps!