How to Get GUI on Raspberry Pi

In this project the Raspberrypi board is booted with the Ubuntu OS and is connected to the Ethernet port of a Windows7 PC. The board is connected to the internet connection as explained in the project how to connect the Raspberrypi to the internet. The IP address of the Raspberrypi board has been obtained and remote login in the TUI is done using the PUTTY.

How to Get GUI on Raspberry PiThe remote access of the GUI can be done using software called VNC viewer. Virtual Network Computing (VNC) is a graphical desktop sharing system that can be used to remotely control another computer. It transmits the keyboard and mouse events from one computer to another, relaying the graphical screen updates back in the other direction, over a network. VNC viewer on one operating system can be connected to a VNC server on the same or any other operating system.

After login using the PUTTY one has to download and install the VNC server software for Ubuntu running on the Raspberrypi. The VNC server version that can be installed in the Ubuntu is called “tightvncserver”. The software can be installed in the Ubuntu operating system using the following command. Make sure that the Raspberrypi is still connected to the internet.

sudo apt-get install tightvncserver

Once typing this command and press enter the Ubuntu will download the software and do all the required steps to install it properly. After installation is done run the application using the following command;

How to Get GUI on Raspberry Pi

sudo tightvncserver

This command will start the VNC server in the Ubuntu. On the first run it will ask to set a password that will be required when somebody tries to remotely access the GUI of the Raspberry pi. The password should be eight characters long. Once the password and the confirmation password have been entered there will appear a question whether to allow the remote user to access the GUI in view only mode or not.


For more detail: How to Get GUI on Raspberry Pi

About The Author

Ibrar Ayyub

I am an experienced technical writer with a Master's degree in computer science from BZU Multan University. I have written for various industries, mainly home automation, and engineering. I have a clear and simple writing style and am skilled in using infographics and diagrams. I am a great researcher and is able to present information in a well-organized and logical manner.

Scroll to Top