Thursday, October 23, 2008

Howto: Remote Desktop to Xubuntu 7.10 with FreeNX

I noticed that my other way of remote desktop to Xubuntu via vine had a big flaw, and that was that everytime you had to restart your system you had to manually log in and start the vine session.

So i installed the NX server and NX client instead. So heres a short tutorial on how to do it:

1. Head over to Nomachine and download all three Xubuntu .deb Packages to your server.

And run them in this specific order: 
sudo dpkg -i nxclient_3.2.0-14_i386.deb 
sudo dpkg -i nxnode_3.2.0-13_i386.deb 
sudo dpkg -i nxserver_3.2.0-16_i386.deb
If you dont run them in this specific order you will get dependencies failure and you will have to issue  : "sudo apt-get install -f" to solve it.

2. You also need to install the Opensshd server, thats the one that handles the authentication for NX. Do so by typing

sudo apt-get install ssh

3. Now that the server is done, install your Freenx client Windows xp / Unix software.

Now you need to configure it. So point it to the ip your Xubuntu machine has, and in the desktop options choose "Unix" and "Custom":



Then click on the settings button and mark the "run the following command".

In the box type:
startxfce4
And also mark the "New Virtual Desktop" button.



Voila! Remote connection that works when Xubuntu has rebooted!




1 comment:

Anonymous said...

Thanks a lot guys !
That's work :)