Running two monitors with a Raspberry Pi 4

Running two monitors with a Raspberry Pi 4

With the new Raspberry Pi 4 Model B and it's two micro HDMI slots, running a dual monitor setup couldn't be simpler. This tutorial will help you gain that extra real estate you've been longing for with your Raspberry Pi.

For this tutorial you will need either:

  • The Official Raspberry Pi Starter Kit
  • Two HDMI monitors
Or:
  • Two HDMI monitors
  • One Raspberry Pi 4 Model B
  • Two micro HDMI to HDMI cables
  • One keyboard and mouse
  • One SD card pre-loaded with Raspbian
  • One USB C power supply (5.1V/3A)
  • One Official Raspberry Pi 4 Model B Case (optional)

Step 1: Add your SD card to the Raspberry Pi

Flip over your Raspberry Pi 4 Model B and insert the SD card into the card slot, with the pins of the card facing the Pi.

Step 2: Connect your left monitor

Take one of the micro HDMI cables, plug it into the back of the left monitor. Then plug this into the left micro HDMI port next to the USB-C connector (labelled HDMI0 on the PCB).

Step 3: Connect your right monitor

With the other micro HDMI cable, plg it into the back of the right monitor. Then plug this into the right micro HDMI port next to the A/V jack (labelled HDMI1 on the PCB).

Step 4: Connect your mouse and keyboard

Connect your mouse and keyboard to the USB ports at the bottom of the Pi.

Step 5: Power your Raspberry Pi!

Power up your Raspberry Pi using the USB-C power supply and wait for it to boot. If you're looking at the boot screen and the menu is on the left and the mouse transfers smoothly from one screen to the other then you're done!

Bonus steps: If your screens are the opposite to what you expected

You can either power off the Raspberry Pi and swap over the micro HDMI cables or you can swap the screen choices in Raspbian. To swap sides in Raspbian, click on the Raspberry Pi logo in the top right, then navigate to "Preferences" "Screen Configuration".

The layout editor will pop up and give you two screens.

Move HDMI-1 by clicking and dragging it below it's current position. Click and drag HDMI-2 to the right.

Then drag HDMI-1 into position on the right and click the tick in the top right underneath the File menu.

The screens will automagically swap and then you can click OK to confirm your happy with your screen order or cancel to revert back to the original arrangement.

2 comments

Chris

Chris

Similar problem, Two monitors both ok on socket 1 doesn’t recognise socket two and I dont get

wyleu@rasppidesk:~ $ uname -a
Linux rasppidesk 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
wyleu@rasppidesk:~ $ cat /etc/os-release
PRETTY_NAME=“Debian GNU/Linux 11 (bullseye)”
NAME=“Debian GNU/Linux”
VERSION_ID=“11”
VERSION=“11 (bullseye)”
VERSION_CODENAME=bullseye
ID=debian
HOME_URL=“https://www.debian.org/”
SUPPORT_URL=“https://www.debian.org/support”
BUG_REPORT_URL=“https://bugs.debian.org/”
wyleu@rasppidesk:~ $

Similar problem, Two monitors both ok on socket 1 doesn’t recognise socket two and I dont get

wyleu@rasppidesk:~ $ uname -a
Linux rasppidesk 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
wyleu@rasppidesk:~ $ cat /etc/os-release
PRETTY_NAME=“Debian GNU/Linux 11 (bullseye)”
NAME=“Debian GNU/Linux”
VERSION_ID=“11”
VERSION=“11 (bullseye)”
VERSION_CODENAME=bullseye
ID=debian
HOME_URL=“https://www.debian.org/”
SUPPORT_URL=“https://www.debian.org/support”
BUG_REPORT_URL=“https://bugs.debian.org/”
wyleu@rasppidesk:~ $

eeandersen

eeandersen

In one particular installation of Raspberry Pi OS (64bit), I have no second monitor functionality. It is current, up-to-date, Debian GNU/Linux 11 (bullseye), kernel Linux 6.1.21-v8+

What setting may I use to restore that second monitor. Other RPi installations I boot have second monitor functionality. Arrrrgh!

In one particular installation of Raspberry Pi OS (64bit), I have no second monitor functionality. It is current, up-to-date, Debian GNU/Linux 11 (bullseye), kernel Linux 6.1.21-v8+

What setting may I use to restore that second monitor. Other RPi installations I boot have second monitor functionality. Arrrrgh!

Leave a comment

All comments are moderated before being published.

This site is protected by hCaptcha and the hCaptcha Privacy Policy and Terms of Service apply.