Hi,
I use Raspberry OS Bookworm with X11 server.
I configured it with autologin by modifying "/etc/lightdm/lightdm.conf" and setting "autologin-user=myuser"
After that , I created a file " /home/myuser/.config/lxsession/LXDE-pi/autostart" and adding the lines below:
The problem is at each pi boot, the screens don' t apply always the configuration of the first two lines.
Some times HDMI-2 is not set has primary screen
Some times the rotation is not applied on the HDMI-1 screen
....
Note: If a problem appears, i can rerun the line in command line to correct it after the desktop is ready.
Have you any idea of what causes this comportment and is there a solution ?
Thanks.
I use Raspberry OS Bookworm with X11 server.
I configured it with autologin by modifying "/etc/lightdm/lightdm.conf" and setting "autologin-user=myuser"
After that , I created a file " /home/myuser/.config/lxsession/LXDE-pi/autostart" and adding the lines below:
I've two HDMI screen@xrandr --output HDMI-2 --primary --mode 1280x800 --refresh 59.91 --rotate left --pos 0x0
@xrandr --output HDMI-1 --mode 1280x800 --refresh 59.91 --rotate left --pos 800x0
#DISPLAY DESKTOP
@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
The problem is at each pi boot, the screens don' t apply always the configuration of the first two lines.
Some times HDMI-2 is not set has primary screen
Some times the rotation is not applied on the HDMI-1 screen
....
Note: If a problem appears, i can rerun the line in command line to correct it after the desktop is ready.
Have you any idea of what causes this comportment and is there a solution ?
Thanks.
Statistics: Posted by yaume91 — Wed Feb 19, 2025 1:14 am — Replies 0 — Views 15