How to Connect to a Raspberry Pi Remotely Using VNC

Having to connect a monitor, keyboard and mouse up to your Raspberry Pi every time you want to use it can be a real pain! Why not connect to and use your Pi remotely? One way of doing this is via VNC (Virtual Network Computing), it's a graphical desktop-sharing system that allows you to interact with the devices desktop interface remotely. It's really handy for when you've got a Pi setup doing a task or in a case and you want to use the Pi. Follow these steps and you'll be all set up and ready to connect to your Pi using VNC in no time!

1) Enable VNC

First, you need to enable VNC functionality on the Raspberry Pi in order to be able to connect to it using this method. It is enabled in the Raspberry Pi configuration settings, this can be found by entering "sudo raspi-config" into the terminal. Select Interfacing Options and then VNC, click enter when this is highlighted and select Enable. You will then need to navigate to the Finish option to exit the options menu.

2) Find the IP address

In order to connect to the Raspberry Pi via the local network, you'll need to know the devices IP address. This can be found by looking at the devices networking information using the "ifconfig" command.

 If you're connected to the internet via WiFi then you'll need the IP address in the wlan0 section and if you're using an ethernet cable then you'll need the one displayed in the eth0 section. The local IP address should look something similar to this 192.168.X.XX. Make a note of this number as we'll need it in the next step.

 3) Connect to the Pi using VNC Viewer

In order to connect to the Raspberry Pi and view the desktop GUI you'll need to use the VNC Viewer program. Once downloaded open the program up and then enter the devices IP address that you found in the previous step.

You'll be prompted to enter the Raspberry Pi's username and password. If you haven't changed them the default username is "pi" and the password is "raspberry". We'd advise clicking the remember password option as it means you won't have to enter them the next time you try and connect to the Pi. Once you've entered the correct username and password you'll be greeted with the familiar desktop interface.

Previous article Fortitude Of Empires & 3D Printing Game Pieces
Next article How to Set up WiFi on the Raspberry Pi

Check out our latest products...

BBC micro:bit Watch - Smart Coding Kit (micro:bit not included) - Micro:bit
24V Power Adapter - DC24V - 5A - Power

24V Power Adapter - DC24V - 5A

£16.99 inc VAT
£14.16 ex VAT
OpenMV Cam H7 Telephoto Lens - Accessories

OpenMV Cam H7 Telephoto Lens

£5.99 inc VAT
£4.99 ex VAT
OpenMV Cam H7 Ultra Wide Angle Lens - Accessories

OpenMV Cam H7 Ultra Wide Angle Lens

£17.99 inc VAT
£14.99 ex VAT
OpenMV Cam H7 IR Lens - Cameras

OpenMV Cam H7 IR Lens

£5.99 inc VAT
£4.99 ex VAT
OpenMV Cam H7 Case - Accessories

OpenMV Cam H7 Case

£7.99 inc VAT
£6.66 ex VAT
Lightning Detector - AS3935 (Qwiic) - Sensor

Lightning Detector - AS3935 (Qwiic)

£20.99 inc VAT
£17.49 ex VAT
Qwiic Keypad - 12 Button - Qwiic

Qwiic Keypad - 12 Button

£8.99 inc VAT
£7.49 ex VAT