When I boot Raspberry pi 4b without a desktop (no matter buster or bullseye), the image is duplicated on two displays. If I boot the operating system with a desktop, then the displays show an extended picture. How can I load the Raspbian desktop on two displays with duplication? So that the desktop on the displays is shown the same.

  • 1
    Several options. e.g. use the display config utility and drag & drop 1 display on top of the other
    – Dirk
    Commented Jul 21, 2023 at 16:58
  • @Dirk if you have time to write a full answer or provide a link to a tutorial on how to do this I would appreciate it.
    – Alexandr
    Commented Jul 22, 2023 at 5:52

1 Answer 1


Write in console or in script:

xrandr --output HDMI-2 --same-as HDMI-1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.