Hello. I have recently been attempting to set up a web kiosk for installation in a remote location.
I currently have a touchscreen + micro PC running Ubuntu Server. It is running Ubuntu Server because I liked the idea of Ubuntu Core + Ubuntu Frame for the kiosk but wanted to keep the pre-installed Windows 11 partition around and as was pointed out by @ograUbuntu Core does not want to share the disk.
So I tried to follow the Make a Secure Ubuntu Web Kiosk on my Ubuntu Server. I had to mix in some additional secret daemon and connect sauce scattered in other places, and came up with this syntax:
sudo snap install ubuntu-frame
sudo snap set ubuntu-frame daemon=true
sudo snap install wpe-webkit-mir-kiosk
sudo snap set wpe-webkit-mir-kiosk daemon=true
sudo snap connect wpe-webkit-mir-kiosk:wayland
sudo snap set wpe-webkit-mir-kiosk url=https://example.com
Replacing example.com with the desired website does load it and the touchscreen works to see and navigate the basic functions.
Unfortunately, some interactivity of the site is not working well with the browser engine in wpe-webkit-mir-kiosk and I’d like to be able to run firefox or chromium as the browser. I saw the Using Firefox/Wayland on Mir servers post by @alan_g and tried to replicate my steps above using the firefox snap instead of the wpe-webkit-mir-kiosk snap but the browser does not appear on screen.
Is there a current write-up anywhere for how to achieve this?
If not, any ideas for me to try? If I get it working I will write it up.
@ahayes-gcrc sorry, but the approach you are following requires the browser to run as a daemon service. That needs to be supported by the snap’s packaging.
The Firefox snap doesn’t include a daemon service: