HostSlim

VNC (gui) installation

for centos: http://wiki.centos.org/HowTos/VNC-Serverfor ubuntu: The following steps can be used to install and use a VNC server on a Ubuntu VPS. Log into…

  • Tutorials
for centos: http://wiki.centos.org/HowTos/VNC-Server

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.

More from the knowledge base

Need something that is not on the list?

Custom builds, private VLANs, BGP sessions, multi-rack deployments. Tell us what you are running and an engineer replies, usually within the hour.