How to install graphical interface?

February 18, 2017 2.6k views
Linux Basics Linux Commands DigitalOcean Applications Ubuntu 16.04

So what I am trying to achieve is to be able to access a desktop enviorement on Ubuntu 16.04 with TightVNC.

I have done the following steps already:

sudo apt-get install update
sudo apt-get install upgrade
sudo apt-get install ubuntu-desktop
sudo apt-get install xfce4
sudo apt-get install xfce4-goodies
sudo apt-get install tightvncserver

It also asked me more times that the installations are corrupted so I fixed them with with the command it has written, I think it was something like "sudo-apt get install -i something". Unless I did this, it did not allow me to install other programs, so I fixed it with this.

I have also put in the command "vncserver" and have choosen a password.

I have rebooted the Droplet.

When I tried to log in with TightVNC to my droplets ip address : the default port of TightVNC I only saw a gray screen.

I have searched for tutorials, solutions on the internet on how to fix this, I have only seen the same steps on how to set this up.

Please explain it very simple, as I am kind of a newbie to Linux, although I have been using it for quite some time without actually reading or watching a Linux tutorial, and I've always had issues like this.

So if you were able to help I would be really thankful.
Thank you.

1 Answer

Have a look at this tutorial:
https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-16-04
Otherwise this thread might help you:
https://www.digitalocean.com/community/questions/how-to-install-ubuntu-with-gui
You might want to reset you droplet, so the changes you've tried doesn't conflict with anything else.

In this guide, we will be setting up VNC on a Ubuntu 16.04 server and connecting to it securely through an SSH tunnel. The VNC server we will be using is TightVNC, a fast and lightweight remote control package. This choice will ensure that our VNC connection will be smooth and stable even on slower internet connections.
Have another answer? Share your knowledge.