installing ubuntu desktop on ubuntu server

Installing Ubuntu Desktop on Ubuntu Server is really easy! I assume you already have a dedicated server or VPS (Virtual private Server) if you do not already have a dedicated server or VPS (Virtual Private server) you can get a cheap vps from http://host90.com they have VPS starting from $4.99 , you will need full root access, once your Server is ready you need to get putty if you are on windows

open up Putty , enter your server details and login as root
The first thing we need to do is check for ubuntu updates

sudo apt-get update

Then we need to install Ubuntu Desktop

sudo apt-get install ubuntu-desktop

Now we need to Configure the Gnome Desktop Manager and XServer

sudo /etc/init.d/gdm start
sudo dpkg-reconfigure xserver-xorg

Now we have Ubuntu Desktop installed , but hey Come on don’t you want to remote desktop ubuntu?
to do that we will need to install VNC server

sudo apt-get install tightvncserver

then Next we need to configure VNC the remote desktop server and create a password to access the VPS via its GUI. The command below will start the VNC server, you will be asked for a password, this password will be used as authentication when you connect to the VPS.
Note: When you paste the code in putty make sure the (x) is included between1024 and 768

vncserver :1 -geometry 1024×768 -depth 16 -pixelformat rgb565

Now , The default VNC server doesn’t use Gnome window manager as default, We need to make some changes to make it use the gnome windnow manager as default

sudo nano ~/.vnc/xstartup

or

vi nano ~/.vnc/xstartup

The command above will open a file , add :
gnome-session & to the end of the file and then use Ctrl+o to Save the file then hit enter then Ctrl+x to exsit the file

We are done , Now we need to start VNC so that we can remote desktop the server

vncserver :1 -geometry 1024×768 -depth 16 -pixelformat rgb565

Finaly Download TighVNC Client :
Download Tight VNC client here: http://www.tightvnc.com/download.html
TighVNC Viewer

After you install TightVNC, run the VNC client and insert your server IP address and VNC server number on the VNC Server field and click on “Connect”. In this tutorial the VNC server number is :1, so you must fill in :1

Post comment as twitter logo facebook logo
Sort: Newest | Oldest