Goal: Use VNC to control your Raspberry Pi from another computer, so you can use your Raspberry Pi without a screen!
Difficulty: Easy
Required Hardware:
- Network-Enabled Raspberry Pi w/ power supply and micro SD card
- Monitor and keyboard (Optional)
- Network-Enabled computer, smartphone or tablet
Required Software:
- RealVNC Viewer - https://www.realvnc.com/en/connect/download/viewer/
Step 01: Connect to a shell on the Raspberry Pi
Option 01: Directly using raspi-config
- Connect monitor and keyboard to your Raspberry Pi
- Make sure your Raspberry Pi is powered on and wait for it to boot
- Open a terminal window
Option 02: Remotely via SSH
- Connect to your Raspberry Pi via SSH following this guide - Raspberry Pi: Remote Control Raspberry Pi via SSH
Step 02: Install & Enable VNC
-
If you like having minimal installations:
- Enter
sudo apt-get install --no-install-recommends realvnc-vnc-server
Otherwise, just skip this and theraspi-confi
next will install it for you if needed.
- Enter
- Enter
sudo raspi-config
- Select
Interfacing Options
and navigate toVNC
- Choose
Yes
,Ok
andFinish
Step 03: Connect to your Raspberry Pi using VNC
- Connect your Raspberry Pi to your local network using an Ethernet cable or Wi-Fi
- Find out the IP address of your Raspberry Pi following this guide - Raspberry Pi: Find Raspberry Pi's IP Address
- Download RealVNC Viewer from the device you want to control your Raspberry Pi with via https://www.realvnc.com/en/connect/download/viewer/
- Connect your device to the same Network as Raspberry Pi
- Launch RealVNC Viewer and enter your Raspberry Pi’s IP address from the previous step
- When asked enter the username and password
Note: the default Rasbian username is pi
and the default password is raspberry
and for MODEP image the default username is modep
and the default password is blokaslabs