

Which means, that you shall be this user when working on the remote desktop Setup the "vnc password" for the user The vncserver shall launch the desktop environment with this unix user. Įnter the new value, or press ENTER for the default # adduser mikeĪdding new user `mike' (1001) with group `mike'. The next thing to do is create a unix user that will be used during the vnc sessions. If the dpkg process exits unexpectedly, you may have to run the following command - # sudo dpkg -configure -a Create a new user for vnc We shall be starting the vncserver with specific settings on our own, later in this guide. Note that this will only install the packages and not start anything. Sudo apt-get install xfce4 xfce4-goodies tightvncserver It would be a good idea to update the package cache before doing the actual install. First install the xfce packages and tightvnc server. Xfce is a lightweight desktop and ideal for usage on a remote server.

Install Desktop environment and VNC server Then use vnc server to launch the desktop environment and create an X display session that we shall access from our local desktop machine through a vnc client. In this tutorial we shall be using Xfce, as it has a light footprint compared to the larger ones like Gnome and KDE. Install any desktop environment of your choice on the server. Recently I had to do something similar and therefore I setup an Ubuntu server with desktop and accessed it via VNC.
