Setup RPi Zero W as a kiosk
- write
Raspbian Lite
image to a SD card - enable ssh
touch /boot/ssh
- setup WiFi
/boot/wpa_supplicant.conf
country=US
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="MySSID"
psk="SSIDPASSWORD"
}
- inert the SD card to RPi zero w and boot-up 5.Autologin in Console
sudo raspi-config
- Select “Desktop / CLI” and then “Console Autologin”.
- Install openbox and x-server
sudo apt-get install -y --no-install-recommends xserver-xorg x11-xserver-utils xinit openbox
- install chromium browser
sudo apt-get install -y --no-install-recommends chromium-browser
- Start chromium automatically when X started
/etc/xdg/openbox/autostart
# Disable any form of screen saver / screen blanking / power management
xset s off
xset s noblank
xset -dpms
# Allow quitting the X server with CTRL-ATL-Backspace
setxkbmap -option terminate:ctrl_alt_bksp
# Start Chromium in kiosk mode
chromium-browser --noerrdialogs --disable-infobars --kiosk 'http://www.google.com'
- start x automatically
~/.bash_profile
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && startx -- -nocursor
I might try this with surf browser https://surf.suckless.org/ seems to have a kiosk ( -K ) mode.