Instead of Flask, you can use something like Rampart.
Instead of /etc/xdg/openbox/autostart (especially while developing on the unit) you can use /etc/xdg/openbox/browser on a seperate DISPLAY on a different TTY. This will allow you to use console (without autostart GUI), start the GUI on its regular default TTY (7) DISPLAY (:0 or 0:0)and run/test the "kiosk browser" on another TTY (8) and X-Windows DISPLAY (:1 or 1:0)
I mention the above (especially the seperate browser start on a different TTY/DISPLAY) because this is how I ran my RPi for a couple of years after realising I was spendinf too much time in a Web Browser on a daily basis, when I wanted to be finishing development projects instead - the only part not described here are the scripts that pass "cut & paste" clipboard text between the console and the 2 different X-Windows DISPLAY servers ..
Instead of Midori, you can use Pale-Moon-Arm (binaries here)
Instead of Flask, you can use something like Rampart.
Instead of
/etc/xdg/openbox/autostart
(especially while developing on the unit) you can use/etc/xdg/openbox/browser
on a seperateDISPLAY
on a different TTY. This will allow you to use console (without autostart GUI), start the GUI on its regular default TTY (7) DISPLAY (:0
or0:0
)and run/test the "kiosk browser" on another TTY (8) and X-Windows DISPLAY (:1
or1:0
)I mention the above (especially the seperate browser start on a different TTY/DISPLAY) because this is how I ran my RPi for a couple of years after realising I was spendinf too much time in a Web Browser on a daily basis, when I wanted to be finishing development projects instead - the only part not described here are the scripts that pass "cut & paste" clipboard text between the console and the 2 different X-Windows DISPLAY servers ..