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

Beginners • Re: kiosk mode starts after the GUI

$
0
0
Sounds like whatever "kiosk mode" guide you followed is nothing more than auto starting a browser after booting to the desktop.

Even after the browser has started the desktop is available so this is a huge security risk with a keyboard connected (or with an exposed USB port) and the default RPiOS configuration I an get full root level access to your Pi in a few seconds.

What I suggest you do is change your Pi to boot to command line without automatic login than see section 5.2.4 of Running A Program At Start Up A Beginner's Guide

If you need to run more than one command as part of your kiosk start up put them into a shell script with the browser command last (and as a foreground task) and call the shell script.

For example:

Code:

#!/bin/bashxset s offxset s noblankxset -dpmschromium  https://time.is/London --kiosk --noerrdialogs --disable-infobars --no-first-run --enable-features=OverlayScrollbar --start-maximized
Don't forget to give your shell script execute permission.

Statistics: Posted by thagrol — Wed Jan 21, 2026 11:55 pm



Viewing all articles
Browse latest Browse all 8093

Trending Articles