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

Troubleshooting • Re: Issues with auto-refresh in kiosk mode Raspberry Pi 5

$
0
0
Have a read of my Cron – A Beginner's Guide but I suspect the problem is Bookworm on a Pi 5.

On a Pi 5, RPiOS Bookworm uses wayland/wayfire not X11/lxde for the desktop. That means many of the older X based tools simply won't work including /etc/xdg/lxsession/LXDE-pi/autostart which I wouldn't recommend using anyway.

Either switch to the Wayland replacements for the tools you have used or force RPiOS to use X11 not wayland (sudo raspi-config then look under "Advanced options").

Further because your refresh.sh contains an infinite loop it will only exit if there is an error. That means, assuming your crontab entry is not broken, you will be starting a new instance of that script every minuite of every hour of every day of ...
Ah I am fairly new to this so please bare with me.

The edit I have placed in /etc/xdg/lxsession/LXDE-pi/autostart to auto start chromium to the correct page at full screen is functioning.
However, are you saying the tools "xdotool" that I have listed in the script do not function with wayland?

Statistics: Posted by jimrny — Fri Apr 12, 2024 5:18 pm



Viewing all articles
Browse latest Browse all 5704

Trending Articles