Skip to content

This project demonstrates how to boot a Raspberry Pi and set it up for remote access using VNC Viewer. The goal is to provide a step-by-step guide to help users get their Raspberry Pi up and running, and enable remote desktop access for convenient management.

Notifications You must be signed in to change notification settings

Iswarya-Singaram/Raspberry-Pi-Booting-and-VNC-Viewer-Setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Raspberry Pi Booting and VNC Viewer Setup

Project Overview

This project demonstrates how to boot a Raspberry Pi and set it up for remote access using VNC Viewer. The goal is to provide a step-by-step guide to help users get their Raspberry Pi up and running, and enable remote desktop access for convenient management.

Prerequisites

Before you begin, ensure you have the following:

  • A Raspberry Pi
  • SD card
  • Power supply for the Raspberry Pi
  • Ethernet cable or Wi-Fi dongle
  • Monitor and HDMI cable (optional)
  • Keyboard and mouse (optional)
  • Another computer or Laptop for VNC Viewer

Note: Setting up VNC on a Raspberry Pi involves using both a desktop and a laptop for the initial configuration. Initially, a desktop is required to enable VNC on the Raspberry Pi. Once VNC is enabled, the laptop can be used to connect to the Raspberry Pi via VNC. After this initial setup, the laptop alone can be used for further viewing and interaction with the Raspberry Pi. While it is possible to perform the initial setup directly using a laptop, my project specifically employs both a desktop and a laptop for the initial configuration.

Software Installation

Initial Boot:

  1. Download and install the Raspberry Pi Imager and the latest raspberry pi OS from the official Raspberry Pi website.

    https://www.raspberrypi.com/software/
    
  2. Insert the SD card into your computer using an SD card reader.

  3. Open the Raspberry Pi Imager, select the Version of Raspberry Pi you have, Raspberry Pi OS, and the storage where it needs to be written.

  1. Click on the additional settings and enable SSH (for VNC viewer) and set up the SSD and password(so that raspberry pi can connect wirelessly to the mentioned SSD), then click on Next.

  1. Once the imaging process is complete, remove the SD card from your computer and insert it into the Raspberry Pi.
  2. Connect the Raspberry Pi to a monitor using an HDMI cable.
  3. Connect the keyboard and mouse to the Raspberry Pi.
  4. Connect the Ethernet cable or set up the Wi-Fi.
  5. Power up the Raspberry Pi by connecting the power supply.
  6. Complete the initial setup process, including setting up the locale, time zone, and Wi-Fi

Enable VNC Server in Pi

  1. Open the terminal on the Raspberry Pi.
  2. Update the package list and upgrade all packages:
sudo apt update
sudo apt upgrade
  1. Install the RealVNC server
sudo apt install realvnc-vnc-server
  1. To enable VNC from the Raspberry Pi Configuration tool:
  • Open the Raspberry Pi Configuration tool from the Preferences menu.
  • Go to the "Interfaces" tab.
  • Enable VNC.
  • VNC Viewer Setup

    1. Download and install VNC Viewer on your computer from the RealVNC website.
    https://www.realvnc.com/en/connect/download/vnc/?lai_sr=5-9&lai_sl=l
    
    1. Open VNC Viewer and sign in or create an account if needed.
    2. Click on the "+" icon to add a new connection.
    3. Enter the IP address of your Raspberry Pi and give it a name.
    4. Click "OK" to save the connection.
    5. Double-click on the new connection icon to start the session.
    6. When prompted, enter the username and password for your Raspberry Pi (default is "pi" and "raspberry" unless changed).

    Troubleshooting

    Cannot Connect to Raspberry Pi

  • Ensure the Raspberry Pi is powered on and connected to the network.
  • Check the IP address and ensure it is correct.
  • Ensure VNC Server is running on the Raspberry Pi.
  • VNC Server Not Running

  • Make sure you have enabled the VNC server in the Raspberry Pi Configuration tool.
  • Check the status of the VNC server by running:
  • sudo systemctl status vncserver-x11-serviced.service
    

    Contributing

    Contributions are welcome! Please feel free to submit a pull request or open an issue to discuss your ideas.

    About

    This project demonstrates how to boot a Raspberry Pi and set it up for remote access using VNC Viewer. The goal is to provide a step-by-step guide to help users get their Raspberry Pi up and running, and enable remote desktop access for convenient management.

    Topics

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published