How to Install VNC
This guide will walk you thru the steps to install VNC on Ubuntu.
Note: VNC can use a lot of ram. If you are on a low ram plan it is not recommended that use use VNC; the experience will be very slow or even unusable.
Go into your server management control panel. Click "Serial Console". This will give you console access to your server to enter commands.
Type the following command into your console and hit enter:
# sudo apt-get update
Now we will install the ubuntu-desktop package. Enter the following command into your console and hit enter:
# apt-get install ubuntu-desktop
This will take some time to finish.
Now we will install Gnome Desktop Manager.
# apt-get install gdm
Re-configure X server.
# dpkg-reconfigure xserver-xorg
We will now start GDM.
# /etc/init.d/gdm start
Now we will install the VNC server.
# apt-get install tightvncserver
Now we need to open up the file ~/.vnc/xstartup in a text editor. We will use nano.
# nano ~/.vnc/xstartup
Type the following config into the file:
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 1024x768 -ls -title "$VNCDESKTOP Desktop" &
If you start your VNC server now, you would probably get a grey screen and an error. To fix that we need to chmod xstartup and xinitrc.
# chmod +x ~/.vnc/xstartup
# chmod +x /etc/x11/xinit/xinitrc
Now, reboot the server.
Start the VNC server.
# vncserver :1
You have installed VNC server on your VPS.
To connect to your VPS via VNC, you have to download a VNC viewer like TightVNC or RealVNC.
Once you install your VNC viewer, you can connect to your server with: "yourserveripaddress:5901"
Was this answer helpful?
You may see that your VPS's Memory is showing as "0 of 0 used".99% of the time, this means...
How to enable TUN support on your VPS:1. Go into the Server Management Control Panel.2. Go to...
You can always try to access your server via the "Serial Console" located in the server...
How to install OpenVPN Access Server on a VPS: In this example we will be using a fresh install...
When you sign up for a new service, you will recieve a temporary auto generated password for your...