
Simply copy and paste the code below into the file: touch /etc/init.d/vncserverĬontents of /etc/init.d/vncserver: #!/bin/bash In the next steps, we’ll be creating a service script for this purpose. Since we’ll want the VNC server to start on boot, we’ll need to create a service for it. You may want to reduce these values slightly less than your local PC’s screen resolution (Example: if using 1920×1080 at home, try setting your VNC resolution to 1900×960): mkdir -p /etc/vncserverĪdd the following lines to the file: VNCSERVERS="1:vncuser" You can change the screen resolution to any value. Please choose a strong password of minimum 8 characters in length using uppercase, lowercase, numbers and symbols:Īfter adding the user, we will need to create and edit the VNC server configuration to specify which user will be able to connect as well as what screen resolution they will use. Now we need to add a user that the desktop will be running under as well as create a password for that user. Remove NetworkManager as this will overwrite our local name server settings and cause you to be unable to resolve domains:
#INSTALL TIGERVNC SERVER UBUNTU 20.04 INSTALL#
Use apt-get to install GNOME and necessary font packages:Īpt-get install gnome-core xfonts-100dpi xfonts-100dpi-transcoded xfonts-75dpi xfonts-75dpi-transcoded xfonts-base

Using apt-get, first update your system packages to the latest versions before we proceed: apt-get update

Just edit the sources.list file:ĭelete everything inside and paste this: deb precise main restricted universeĭeb precise-updates main restricted universeĭeb precise-security main restricted universe multiverse Our VPS hosting prices start at $2.99 a month → Recommended VPS specifications: Our “Minimal” plan. This guide uses Ubuntu version 12.04 LTS so there may be extra steps for different versions.
