HowTo: Raspberry Pi – Control the Raspberry Pi via VNC

In addition to SSH, you can also control the RaspberryPi via the VNC protocol. You access the graphical interface. And you can “get” the graphical interface of the Raspberry Pi onto your computer even without a directly connected screen.

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


Helpful articles:
Before you start with this article you should have prepared the RaspberryPi so that it is accessible via the network and controllable via SSH.

The following three articles describe what needs to be done to prepare the RaspberryPi:
RaspberryPi – setup for nerdiys!
RaspberryPi – The first configuration!
RaspberryPi – Control the RaspberryPi via SSH

Required tool:

Required material:

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

Log in to the RaspberryPi via SSH

To start, you must first log in to the Rasp Pi with Putty via SSH. How to do this is in the article RaspberryPi - Control the RaspberryPi via SSH described.

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

Activate the VNC server

To communicate with your RaspberryPi via VNC you need to run a server application on it. This is already integrated in Raspian and does not need to be installed but only activated.

For this you have to switch to the RaspberryPi configuration menu. This can be done with the following command:

sudo raspi-config

In the menu that now appears, use the arrow keys to go to the menu item “Interfacing Options” and confirm with “Enter”.
In the next menu you then switch to the menu item “VNC” and confirm again with “Enter”.
In this menu, use the arrow keys to switch to “Yes” and confirm with “Enter”.
You will then be informed that the VNC server has now been activated. Confirm this with “Enter”.
The initial window then appears again. Switch here to “Finish” and confirm again with “Enter”.
This will return you to the console. Finally, restart the RaspberryPi with the command “sudo reboot”.

Download and install VNC client software

To connect to the VNC server on the RaspberryPi you need the appropriate VNC client. This is available for free download on the manufacturer's website.

Go to and download the “VNC Viewer” software. and installs it.
How to download and install a program is described in the following articles:
Downloads/Uploads – How data comes and goes from the Internet
Install programs - an example

Establish VNC connection

To establish the VNC connection, start the VNC viewer.

In this window, enter the IP address of your Raspberry Pi in the address line and click on “Login”.
Confirm the message that now appears by clicking on “Continue”. This message is normal and is usually only displayed the first time you connect to a previously unknown server.
Here you enter the username and password for your RaspberryPi and after clicking on “OK” you will be connected to your RaspberryPi.
Now you are on the graphical user interface of your RaspberryPi. Here you can work with the RaspberryPi as if you were directly connected to it.

Have fun with the project

I hope everything worked as described for you. If not or you have questions or suggestions please let me know in the comments. I will then add this to the article if necessary.
Ideas for new projects are always welcome. 🙂

PS 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 think it's cool that I share the information with you, I would be happy about a small donation to the coffee fund. 🙂

Buy Me a Coffee at       

Kommentar hinterlassen

Your email address will not be published. Erforderliche Felder sind mit * markiert

This site uses Akismet to reduce spam. Learn how your comment data is processed.