Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5506

Graphics, sound and multimedia • Pi 4B - LXDE Dual Screen reset when booting with single monitor

$
0
0
Hi everyone,

I have a Pi 4B running Bookworm. I am using the system as a Kiosk system without inputs - just to display two browser Windows on each of the two HDMI outputs separately. I've written a Python-based script to update the URLs automatically, so ideally no user should ever need to log into that system to change anything.

To achieve Dual-HDMI support, I added

Code:

dtoverlay=vc4-kms-v3d-pi4
to /boot/config.txt.

Everything works fine so far. But in case someone switches the monitors off (with the power button of the Monitors) and the system reboots while the monitor's power is still switched off, LXDE always comes up with only one Monitor configured.
Since this happens regularly (~ every second evening ...), I always need to log in by VNC and reconfigure X/LXDE to use the second Monitor as an extended (right of) monitor again.

I am not sure if this is an X or an LXDE issue. But what I would love to achieve is that a missing monitor does not affect the X/LXDE configuration. It would be ideal if the X server still starts configured with two monitors no matter if the monitor device is switched on or off and the content of the second is just not to be seen, since the display device is switched off.
The second-best alternative would be a way to reactivate the monitor and have it arranged as an extension to the right by command or script rather than a mouse and graphical LXDE dialogue like I have to do at the moment.

Can anyone help me with this, please? I am not finding a solution to this and dealing with X or LXDE is my weakest topic, unfortunately :oops:

Statistics: Posted by Mind_of_Judge — Thu Apr 11, 2024 9:37 am



Viewing all articles
Browse latest Browse all 5506

Trending Articles