How to run a headless chromium kiosk over ssh
We will be using the application 'screen' to detach ourselves from the chromium session, allowing us to end the SSH session and keep the browser open.
sudo apt update
sudo apt install screen
Run the following command to run chromium browser in kiosk mode on display 0 in a detached session called 'abwd'
screen -dmS tkovr bash -c 'DISPLAY=:0 chromium-browser --kiosk https://airbridge.net.au/wp-content/uploads/2023/10/MD-2135-ARNI-Blog-Post-400x250.jpg'
you can then reattach to this session with
screen -R tkovr
to close the session remotely, use
screen -X -S tkovr quit