Ping VPS - Blog

Linux Remote Desktop Access

Would you like to be able to remotely access your VPS with a full graphical interface?

Doing so is far from impossible using software technology called VNC, but can require a lot of fiddling about and setting up through the command line which can be a daunting task for anyone who isn’t particulalry experienced with linux.

So at PingVPS we have created several templates that are pre-setup with all the packages you need to get straight into using your VPS with a full graphical interface without the need to expend your valuable time and energy setting it up yourself.

The templates currently available are:

  • Ubuntu 9.04 [32bit/64bit] + Gnome Desktop + VNC Server
  • CentOS 5.4 [32bit/64bit] + Gnome Desktop + VNC Server
  • CentOS 5.4 [32bit/64bit] + KDE Desktop + VNC Server
  • Debian 5 [32bit/64bit] + Gnome Desktop + VNC Server
  • Debian 5 [32bit/64bit] + KDE Desktop + VNC Server

To start using graphical remote access follow these step by step instructions:

  • Login to your solusVM client, click on the relevant VPS and click “re-install” then choose the template you want to install and let it install (Will take 1-3 minutes dependant on OS template chosen)
  • Once the template has been installed, login via SSH and start the VNC process by typing:
    “vncserver”
    This will prompt you for a password the first time you run it so make sure you remember to make a note of it.
  • The vncserver will notify you that you can access your remote desktop through either <IP ADDRESS>:1 or http://server.domain.tld:1
  • Open your VNC viewer client and enter the IP/URL, if you don’t have a VNC viewer client you can download ultraVNC standalone client executable from your client area here: http://my.pingvps.com/downloads/1/VNC-Viewer (You must be logged in to be able to access it.)
  • You will be prompted for the password you created a few moments ago and thats it!

Other commands you may need:

  • “killall Xvnc” (for CentOS & Ubuntu) “killall Xvnc4″ (for debian) – Kill the vncserver process off if you are done with the remote access or want to reduce the memory footprint (running a vnc server will use between 150-300mb memory so make sure your VPS has enough dedicated memory available)
  • “rm /root/.vnc/passwd” – Running this command will remove the currently set VNC server password allowing you to re-enter it if you forget it.

Leave a Reply