Remote - Raspberry Pi

Remote Desktop on Raspberry Pi 2: Setup with VNC or RDP for Ads and Displays

Raspberry Pi 2 connected to a monitor, ready for remote desktop setup

Remote Desktop with Raspberry Pi 2 Connected to a Monitor or TV

For example, you can use it to display an advertising banner in a shop window.

Setting up a remote desktop on a Raspberry Pi 2 is straightforward, and you can control it from your laptop or another computer. This setup is handy when your Raspberry Pi is connected to a TV or a standalone monitor and acts as a small remote server. With a remote desktop, you don’t need to have a keyboard or mouse physically attached to the Pi. It’s perfect for continuously showing advertisements, presentations, or informational banners in a shop window, all managed conveniently from a distance.

Setting Up with VNC (Recommended for Beginners)

There are several ways to do this, depending on what works best for you.

What you’ll need:

  • A Raspberry Pi with an operating system installed, like Raspberry Pi OS
  • A laptop (Windows, Linux, or macOS)
  • Internet access or a home Wi-Fi network

On the Raspberry Pi:

  1. Open a terminal.
  2. Type:
    sudo raspi-config
    
  3. Go to Interface Options → VNC → Enable.
  4. Restart the Raspberry Pi.

If VNC is not listed, you can install it:

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

On your laptop:

  1. Download and install RealVNC Viewer.
  2. Enter the Raspberry Pi’s IP address (find it with hostname -I in the terminal).
  3. Confirm the connection and enter your username and password.

You’ll then see the Raspberry Pi desktop and can control it with your mouse and keyboard.

Using RDP (Remote Desktop Protocol – works on Windows too)

On the Raspberry Pi:

sudo apt update
sudo apt install xrdp

The service will start automatically after installation.

On your laptop:

  1. Open Remote Desktop in Windows (or an RDP client on Linux/macOS).
  2. Enter the Raspberry Pi’s IP address.
  3. Log in.
  • Advantage: Windows already includes an RDP client.
  • Disadvantage: It might be slightly slower than VNC.

Notes and Recommendations for Raspberry Pi 2

Since Raspberry Pi 2 is older and less powerful, it’s important to choose a lightweight desktop environment for smooth performance. Full-featured environments like GNOME or KDE can be too demanding and may cause slow responses.

LXDE / XFCE

Lightweight environments like LXDE or XFCE are ideal. They use minimal resources, start quickly, and are suitable for long-term use. These environments are perfect for remote desktop setups, playing content, or simple system management without overloading the CPU or RAM.

Installing a lightweight desktop environment example:

sudo apt install xserver-xorg xfce4
  • If your TV is connected via HDMI, the display can run simultaneously with what you see via VNC or RDP.
  • The easiest option is to enable VNC and use RealVNC Viewer.
  • Alternatively, you can use RDP if you are on Windows.
  • For older Raspberry models, choosing a lightweight desktop environment is strongly recommended to maintain good performance.

 

Posted in EN - Linux Community ☺.

Leave a Reply

Your email address will not be published. Required fields are marked *