HowTo: Raspberry Pi – Control the Raspberry Pi via VNC

Neben SSH könnt ihr den RaspberryPi auch über das VNC-Protokoll steuern. Dabei greift ihr auf die grafische Oberfläche zu. Und könnt so die grafische Oberfläche des RaspberryPi’s auch ohne einen direkt angeschlossenen Bildschirm auf Euren Computer “holen”.

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


Requirements

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:
-no-

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 dem nun erscheinendem Menü wechselt ihr mit den Pfeiltasten zum Menüpunkt “Interfacing Options” und bestätigt mit “Enter”.
Im nächsten Menü wechselt Ihr dann zum Menüpunkt “VNC” und bestätigt weider mit “Enter”.
In diesem Menü wechselt Ihr mit den Pfeiltasten zu “Yes” und bestätigt mit “Enter”.
Daraufhin wird euch bestätigt, dass der VNC-Server nun aktiviert wurde. Bestätigt dies auch mit “Enter”.
Danach erscheint wieder das Ausgangsfenster. Wechselt hier zu “Finish” und bestätigt wieder mit “Enter”.
Dadurch kehrt Ihr in die Console zurück. Zum Abschluss startet Ihr den RaspberryPi mit dem Befehl “sudo reboot” neu.

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 https://www.realvnc.com/de/connect/download/viewer/ und ladet die Software “VNC Viewer” herunter. und installiert sie.
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 diesem Fenster tragt Ihr nun in der Adresszeile die IP-Adresse eures RaspberryPi’s ein und klickt auf “Anmelden”.
Die nun erscheinende Meldung bestätigt Ihr mit einem Klick auf “Fortsetzen”. Diese Meldung ist normal und wird normalerweise nur beim ersten Verbindungsaufbau mit einem bis dahin unbekanntem Server angezeigt.
Hier gebt Ihr Benutzername und Passwort zu Eurem RaspberryPi ein und nach einem Klick auf “OK” werdet Ihr mit eurem RaspberryPi verbunden.
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 ko-fi.com       

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.