Setting Up a VNC (Virtual Network Computing) on Raspberry Pi

Learn Setting Up a VNC (Virtual Network Computing) on Raspberry Pi. Virtual Network Computing (VNC) is a graphical desktop sharing system. It uses the Remote Frame Buffer protocol (RFB) 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. So, let’s start.

Step 1: Installing VNC in Raspberry Pi

Start Terminal window in Raspberry Pi and install VNC by entering below given command.

sudo apt-get update
sudo apt-get install realvnc-vnc-server realvnc-vnc-viewer

Step 2: Enable VNC Server in Raspberry Pi

There are two ways to enable VNC server in Raspberry Pi

1. Enabling VNC Server using Command Line

Follow the below-given instructions

  1. Enter the command to open Raspberry Pi Configuration
    sudo raspi-config
  2. Go to “Interfacing Options”
  3. Select “VNC” section
  4. Select Yes in that
2. Enabling VNC Server using GUI

Follow the below-given instructions

  1. Start the Raspberry Pi using Graphical User Interface.
  2. Go to Menu > Preferences > Raspberry Pi Configuration > Interfaces
  3. Check the VNC enabled or not. If not then turn it on.

You have turned on the VNC Server in Raspberry Pi.

Step 3: Connect to Raspberry Pi using VNC Viewer

  1. Check the IP of your Raspberry Pi
  2. Download and install VNC Viewer to your device.
  3. Enter IP of Raspberry Pi into VNC Viewer
  4. Press the enter button and enter your Raspberry Pi’s login credential into the username and password block.

For basic hardware information about Raspberry PI 3, Click here

Leave a Reply