HowTo: Raspberry Pi – Control the Raspberry Pi via VNC

In addition to SSH you can also control the RaspberryPi via the VNC protocol. In doing so, you access the graphical user interface. And so you can “bring” the graphical interface of the RaspberryPi’s without a directly connected screen on your computer.

What you have to configure is described in the following article.

Hints for our lovely english readers: Basically, many of the articles on Nerdiy.de are translations from the original german articles. Therefore, it may happen here and there that some illustrations are not available in english and that some translations are weird/strange/full of mistakes or generally totaly wrong. So if you find some obvious (or also not obvious) mistakes don't hesitate to leave us a hint about that in the comment section. 
Also please don't get confused, that instead of a "dot" often a "comma" is used as decimal separator. 🙂


Requirements

Helpful Articles:
Before you start with this article, you should have prepared the RaspberryPi so far that it can be reached via the network and controlled by SSH.

The following articles describe what to do to prepare the RaspberryPi:
RaspberryPi – Setting up for Nerdiys!
RaspberryPi – The first configuration
RaspberryPi – Controlling the RaspberryPi via SSH

Required tools:
-none-

Required material:

In the following list you will find all the parts you need to implement this article.


Log in via SSH on the RaspberryPi

To get started, you first need to log in to RasPi with SSH on Putty. How to do it is described in the article

After entering your username and password you can start to enter the first commands.

Enable the VNC server

In order for you to communicate with your RaspberryPi via VNC, a corresponding server application must be running on it. This is already integrated in Raspian and therefore does not need to be installed but only activated.

To do this you need to switch to the RaspberryPi configuration menu. This is done with the following command:

sudo raspi-config

In the menu that now appears, use the arrow keys to go to the “Interfacing Options” menu item and confirm with “Enter”.
In the next menu you change then to the menu item “VNC” and confirm again with “Enter”.
In this menu, you can use the arrow keys to navigate to “Yes” and confirm with “Enter”.
You will then informed that the VNC server has now been activated. Confirm this again with “Enter”.
Then the initial window appears again. Change to “Finish” and confirm again with “Enter”.
This will bring you back to the console. Finally, you restart the RaspberryPi with the command “sudo reboot”.

Download and install VNC client software

In order to be able to connect to the VNC server on the RaspberryPi you now need the right VNC client. This is available for free on the manufacturer side for download.

Go to https://www.realvnc.com/de/connect/download/viewer/ and download the software “VNC Viewer”. and install it.
How to download and install a program is described in the following articles:
Downloads/Uploads – How the data comes from the internet and disappears again
Install programs – an example


Establish VNC connection

To set up the VNC connection you start the VNC viewer.

In this window: Enter the IP address of your RaspberryPi in the address bar and click on “Login”.
You can confirm the now appearing message by clicking on “Continue”. This message is normally displayed only when you first connect to a previously unknown server.
Here you enter your username and password to your RaspberryPi and after clicking on “OK” you will be connected to your RaspberryPi.
Now you are on the graphical interface of your RaspberryPi. Here you can work with the RaspberryPi as if you were directly connected to it.

I hope everything worked as described. If not or you have any other questions or suggestions, please let me know in the comments. Also, ideas for new projects are always welcome. 🙂

Fab

P.S. Many of these projects - especially the hardware projects - cost a lot of time and money. Of course I do this because I enjoy it, but if you appreciate it that I share these information with you, I would be happy about a small donation to the coffee box. 🙂

Buy Me a Coffee at ko-fi.com

Leave a Reply

Your email address will not be published. Required fields are marked *