how to install remote desktop using nx from nomachine

Posted on

Ok, I’ve fought with this off and on for a-while, but I finally found the right combination. First of all, forget freeNX. The NoMachine folks have released a “desktop” edition of their latest product called “NX Desktop Server” that is free for personal use (2 users/connections).

Before proceeding, be sure to *completely* remove any previous versions of any of the FreeNX files or libraries. Undo what you have already done, and remove the FreeNX source URLs from your /etc/apt/sources.list.

———————–
Step 1 – Download
———————–

Download “NX Desktop Server DEB for Linux” from:
http://www.nomachine.com/select-pack…?os=linux&id=1

Download “NX Node DEB for Linux” from:
http://www.nomachine.com/download-node.php?os=linux

Download “NX Client DEB for Linux” from:
http://www.nomachine.com/download-client-linux.php

———————–
Step 2 – Install
———————–
Install the DEB files in this order:

nxclient
nxnode
nxserver

I just right-clicked on them and installed them…use apt-get if you prefer.

———————–
Step 3 – Configure
———————–
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

Verify nxserver is configured 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.

If you get any errors here, then something is wrong with your configuration. If not, then NX Desktop Server should be installed.

Before anyone complains, yes, I’m using the NoMachine server key just because it’s easy. If you want to generate your own key, you can. These instructions worked for me on Dapper….YMMV. Let me know if you have trouble…..hopefully my notes were correct.

Good luck!

this tutorial writen from jkbrowne at uBuntuForums.com

5 thoughts on “how to install remote desktop using nx from nomachine

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.