Enable wayland on RPI#
wayland=true as kernel param
Cage and cog#
cage is a WL kiosk.
cog is a minimal browser, can be controlled via local command line and ssh
Extract variable from hidden kernel param#
linux boot ROOT=something ro -- HIDDEN_PARAM="SOMETHING"
YOUR_ENV_VAR="$(grep -Po 'HIDDEN_PARAM=\K[^ ]+' /proc/cmdline)"Start cog inside cage “jail”#
# with cog options
cage -d -- cog https://www.example.com
# without cog options
cage -d cog https://www.example.comThis command will:
cage -d: Start cage in debug mode. – cog: Specify cog as the browser to launch. https://www.example.com: Open this URL in the cog browser.
Make sure that:
You have cage and cog installed on your system. You replace https://www.example.com with your desired URL.