To be fair, I’m going to copy off of @Peter Quiring’s answer on Stack Overflow for the most part. Luckily, it uses all the components that I am familiar with, coming from a
# apt install --no-install-recommends xorg openbox lightdm chromium # adduser kiosk # cat << EOF >> /etc/lightdm/lightdm.conf [SeatDefaults] autologin-user = kiosk EOF # cat << EOF >> /etc/xdg/openbox/autostart xset -dpms xset s off chromium --kiosk https://127.0.0.1:8006 EOF
Hot damn! That’s cool. I mean, I won’t be able to log in unless I have my keepassx file around here somewhere, but there’s a reaction of pure coolness that it gives me to be able to have this up and running. Simple and elegant!
By the way, in Openbox,
Space will give you a window menu in which the browser can be closed. Then from there a right click anywhere on the screen will give you a menu that has a regular browser launcher and a terminal launcher. So don’t consider this as a “secure” desktop or anything.