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

Raspberry Pi OS • Kiosk mode on RPi 5 with Bookworm Lite image (working in 2025)

$
0
0
Hi
I know there are many tutorials related with the kiosk subject but all that I found are not applicable to the setup I want:
- RPi 5 ( I want to minimize the start up time)
- Bookworm Lite image (2025-05-13-raspios-bookworm-arm64-lite.img.xz)
- Wayland (instead of X11 since it seems to be what Bookworm uses)

I already managed to have a running solution doing this:

Code:

sudo apt update && sudo apt upgrade -ysudo apt install raspberrypi-ui-mods -ysudo apt install chromium-browser -ynano kiosk.sh#!/bin/bashxset -dpmsxset s offxset s noblanksleep 4chromium-browser https://www.example.com \--start-maximized \--kiosk \--incognito \--noerrdialogs \--disable-translate \--no-first-run \--fast \--fast-start \--disable-infobars \--disable-features=TranslateUI \--disk-cache-dir=/dev/null \--overscroll-history-navigation=0 \--disable-pinch \--ozone-platform=wayland \--enable-features=OverlayScrollbarchmod +x ./kiosk.shmkdir -p ~/.config/labwcnano ~/.config/labwc/autostart/home/<user>/kiosk.shsudo reboot
Then in raspi-config I changed:
- Boot in to Desktop GUI
- Automatically log in to the desktop
- Labwc window manager with Wayland backend

The problem is that prior to the appearance of the browser I see the Desktop for a couple of seconds!
How can I avoid that?
It is possible to open the browser directly without having to login in to the Desktop?

Note that if I not set the "Automatically log in to the desktop" option on the raspi-config, I get the login screen instead and the browser do not open automatically.

Regards and Thanks for your help.

Statistics: Posted by hsmptg — Sun Jul 13, 2025 11:05 am



Viewing all articles
Browse latest Browse all 3546

Trending Articles