VNC with Gnome on Debian VPS

Inside VPS with root right first do:

apt-get update
apt-get upgrade

Then install GNOME with full Desktop functionality:

apt-get install gnome-desktop-environment

Install required fonts next with:

apt-get install xfonts-100dpi
apt-get install xfonts-100dpi-transcoded
apt-get install xfonts-75dpi
apt-get install xfonts-75dpi-transcoded
apt-get install xfonts-base

Install TightVNCServer on the Debian VPS next:

apt-get install tightvncserver

Start TightVNCServer for the first time. This will copy config files and prompt you to set password:

tightvncserver :1

Stop the VNC server, so we can continue to configure it:

tightvncserver -kill :1

Edit the xstartup file:

vi ~/.vnc/xstartup

Press "A" to enter edit mode. Replace the contents of the file with the following (or edit to match):

# !/bin/shxrdb $HOME/.Xresources
xsetroot -solid grey
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
# x-window-manager &
gnome-session &

Press ESC, type :wq, then press enter to save and close the file.

At the end just start the VNC server with the resolution you need:

tightvncserver -geometry 1024x768 :1

  • 22 Users Found This Useful
Was this answer helpful?

Related Articles

Buy web hosting with Payeer

Payeer is a payment platform that makes it easy to pay for products and services on different...

Buy web hosting with BTCe

Today, with all the advancements in technology, different types of web hosting have emerged in...

Buy web hosting with SMS

Web hosting with SMS This is one of the newest aspects of web hosting; it is very effective and...

How to change the VPS server date and time

Changing the VPS server time and date is not hard at all. The easiest way to do this is to login...

Buy VPS with SolidTrust Pay

Buy VPS with SolidTrust Pay VPS Hosting Organizations are turning to the internet to make big...