JustPaste.it

How to Install VNC w/ GNOME on Debian VPS



VNC is a remote desktop sharing system that will allow you to connect your home PC to a GUI (graphical interface) hosted on your VPS, for easy remote management. This guide will walk you through the steps required to setup and access a VNC server hosted on a Debian VPS.

    Before beginning, ensure you are logged in to your VPS as the root user, and run the following:

        # apt-get update

        # apt-get upgrade

    1. Install GNOME:

        #apt-get install gnome-desktop-environment

    2. Install required fonts:

        # 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

    3. Install TightVNCServer:

        # apt-get install tightvncserver

    4. Start TightVNCServer for the first time, it will copy config files and prompt you for a password:

        # tightvncserver :1


You can now access your server's remote GNOME desktop with a desktop VNC client. Enter your server's main IP address, Port 1 (or 5901, alternately), and the password you set earlier to connect to the desktop.