I've long had a touchscreen panel driven by a RPi 4 in my living room. I had a little piece of python code that would run `xset dpms force on` if anyone approached the screen and triggered a nearby PIR.
Back in January, I upgraded to a RPi 5. Making all that work again was a bit rocky until I switched from the new Wayland default to X11.
I did something recently that I thought would be benign (apt update + install xrdp + added a new user) and now it seems everything has fallen apart. The python script no longer turns the display on again. When I touch it, the display does come back, but now I see a lock screen.
I'm ashamed to admit I have about 20 hours troubleshooting in this now, and I'm thoroughly demoralized. This is kind of an important piece of equipment for us though.
1. How do I disable the lockscreen? Why did this suddenly start appearing when I've never seen it before?
2. What is the proper way to:
a. Cause a display to go into standby after a few minutes; and
b. Turn it back on again from the command line?
I have no preference, X11 vs. Wayland, I'll use whatever works.
~/.config/lxsession/LXDE-pi:
Back in January, I upgraded to a RPi 5. Making all that work again was a bit rocky until I switched from the new Wayland default to X11.
I did something recently that I thought would be benign (apt update + install xrdp + added a new user) and now it seems everything has fallen apart. The python script no longer turns the display on again. When I touch it, the display does come back, but now I see a lock screen.
I'm ashamed to admit I have about 20 hours troubleshooting in this now, and I'm thoroughly demoralized. This is kind of an important piece of equipment for us though.
1. How do I disable the lockscreen? Why did this suddenly start appearing when I've never seen it before?
2. What is the proper way to:
a. Cause a display to go into standby after a few minutes; and
b. Turn it back on again from the command line?
I have no preference, X11 vs. Wayland, I'll use whatever works.
~/.config/lxsession/LXDE-pi:
Code:
@xset s 30@xset dpms 30 30 30@chromium-browser --kiosk --disable-translate --no-touch-pinch --app=<url>
Code:
6.6.31-v8-16k+ #1766
Statistics: Posted by admin0389 — Thu Jun 06, 2024 6:10 am