Install VNC on Ubuntu server

Install VNC software

sudo apt-get install vnc4server


Start VNC server

vncserver :1 -geometry 1024x768 -depth 16 -pixelformat rgb565

Now you will be able to connect to ubuntu VPS with VNC.

On ubuntu, it won't start "vncconfig" on booting. You need to run "vncconfig" to share clip board between vnc.

vncconfig


You can start gui application from this window. It use less CPU. If you need gnome desktop, edit file

vi /root/.vnc/xstartup

Find

x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
x-window-manager &

Replace it with following:

xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
gnome-session &
  • 54 Users Found This Useful
Was this answer helpful?

Related Articles

VPS hosting advantages

The VPS hosting gives you the functionality and options of the dedicated server, but at a much...

Buy web hosting with Payoneer

Web Hosting with Payoneer Web hosts work by securely storing your website information in...

What is VPS hosting

VPS (VPS hosting) is redundancy for Virtual Private Server. VPS is an isolated server that...

How to remove installed RPM package

If the package is installed via RPM, first find the name of the RPM package: rpm -qa | grep...

Backup and restore cPanel accounts from SSH command line

cPanel web hosting control panel has some built in scripts for you to backup or restore one or...