Virtual Network Computing is the obvious option when you work with Linux platforms. In short, it’s called VNC. It’s a cross-platform remote desktop technology that can be used on most operating systems. There is a variety of products available on the market. Few products are free, and few are commercial. But, most of the new Raspberry Pi distributions come with ReavVNC, which supports cloud-based connections right in. This allows you to connect Pi not only within the network but also over the internet. RealVNC gives users the freedom to connect from anywhere. This flexibility makes this option more prominent than others. Let’s see how to set up VNC on the Raspberry Pi.
Note: VNC runs on port 5900. You should open this port on all the middle devices to work the communication from your PC to the Raspberry Pi.
- Make sure VNC is enabled on the Pi. to ensure that, go to main menu -> preferences -> Raspberry Pi configuration as shown here. And, go to the interfaces tab where you can enable the VNC and hit OK.


If you see the problem in enabling the VNC on your Pi, then you may need to install the RealVNC from the repositories.
Table of Contents
Install the RealVNC on Raspberry Pi
Time needed: 5 minutes
Install the RealVNC on Raspberry Pi
- Update the system repositories:
Open the terminal if you have direct access. Or, take an SSH session to the Raspberry Pi CLI.
$ sudo apt-get update && apt-get upgrade - Install the RealVNC server:
$ sudo apt-get install realvnc-vnc-server
- Enable VNC server:
$ sudo raspi-config
Got to Interfacing options
Select VNC
Answer Yes
Select Finish to quit (or ESC)
Connect from Windows client: Visit the RealVNC “https://www.realvnc.com/en/connect/download/viewer/” site and download the client for your operating system and install it. Once it’s done, fire up the VNC viewer and enter the Raspberry PI IP address, and hit enter. You are going to see a warning message like this.

Select ‘Continue.’ This prompts username and password. In a movement, you are going to see the full-size GUI desktop.
Note: You ended up in some sort of problem if you unplug the monitor, mouse, and keyboard from the Pi and try accessing its GUI desktop over VNC

$ sudo raspi-config

Choose Advanced Options.

Set the resolution as per your screen size. We recommend setting DMT Mode 82 1920 X 1080 69 Hz 16:9.

As we said earlier, it is possible to connect Raspberry Pi over the internet. You need not be part of the network to which Raspberry Pi has connected. To access Pi over the internet, you should create an account on the VNC cloud and sign into it.
Open the VNC application on the Pi and click on the Sign in link.

Create your own account here or just sign in if you have already.

Note: You are allowed to connect only 5 computers in the free account. You have paid account options as well if you want to add more than 5 computers.
Upon setting up these configurations on VNC, you can sign in to your cloud account and connect the Pi over the internet. That’s all. This ends with how to set up VNC on the Raspberry Pi.
Thank you for reading this article. Please visit the below links to read more such interesting articles. Peace leave your comments here below and let us know your feedback. This helps us to bring more such articles.
Recommend Products for Raspberry Pi Users
We have some Raspberry Pi accessory recommendations that we think you’ll find useful. These are products we’ve personally selected that we believe are must-haves for any Raspberry Pi owner. Take a moment to look through the list – you can click on any item to view more details or purchase it directly from Amazon. Whether you’re just getting started with your Pi or looking to expand its capabilities, we’re confident you’ll find something helpful among our top picks. Let us know if you have any other questions!
Declaimer: The below products contain affiliate links. We may receive a small commission if you purchase through these links at no additional cost to you. You can read our full affiliate disclosure here.