Summary: I personally have a need on one of my servers for a gui. There are a bunch of reasons why people would such as some game servers, runuo for example, and if just for fun it can be done on a single node with ispmanager and xfce.
Before you start, make sure you have the appropriate software to telnet/ssh into your server, such as putty.
Step One: Installing FreeNX
1. Assuming you’re installing on a clean Ubuntu 10.04 LTS 64-bit Basic Installation start by installing apt-add-repository (or if already installed skip to next step)
sudo apt-get install python-software-properties
2. Next lets add the FreeNX PPA
sudo add-apt-repository ppa:freenx-team
3. Now lets update
sudo apt-get update
4. And install FreeNX
sudo apt-get install freenx
Step Two: Installing & Using GUI
1. I’m using xfce for this but you can use ubuntu kubuntu if you really wanted to. Edit this command to your gui of choice.
sudo apt-get install xubuntu-desktop
2. Download and install the version of NX For Your OS
Windows Linux OSX Solaris
3. Click configure and in host enter your ip or domain name and port. Then Under desktop select UNIX and XDM (or if using another os choose the gui)
4. Enter your username (root) and password. Login and you’ll be greeted with an ssh terminal. Type
startxfce4
and that’s it!
Retrieved from :http://www.vps.net/forum/topic/4221-how-to-install-use-a-gui-with-freenx-on-ubuntu-1004/