VNC (GUI) for Ubuntu

The following steps can be used to install and use a VNC server on a Ubuntu VPS.

Log into your VPS with SSH, then enter the following commands:

  • apt-get update
  • apt-get upgrade
  • apt-get install ubuntu-desktop
  • apt-get install tightvncserver
  • apt-get install nano
  • vncserver (type desired vnc password, then again)
  • vncserver -kill :1
  • mkdir /root/.ssh
  • cd /root/.ssh
  • nano xstartup (arrow key down to new line at bottom)
  • "gnome-session &" (without the quotes)

Then hit ctrl+o, Enter, ctrl+x, followed by:

  • vncserver

Open your VNC client, enter your VPS IP, use port 5901, type the password you used. Done.

  • 126 Users Found This Useful
Was this answer helpful?

Related Articles

How do I connect to my VPS? (SSH)

We recommend the program PuTTY for SSH. You can download it here:...

Enabling PPP

To enable PPP on your OpenVZ VPS: Log into SolusVM and Enable PPP. Reboot your VPS. Log into...

CentOS YUM Update/Install Issues

If you are using a new CentOS VPS and receiving errors when you try to use yum, please run the...

How do I set reverse DNS (RDNS/PTR)?

Clients can set reverse DNS (RDNS/PTR) in the SolusVM control panel. Click the Network tab and...

Where can I find good Linux Tutorials?

Check out the following...