Appreciate any help in answering if it is possible to run snap version of Firefox on Ubuntu Core 32-bit IoT within Ubuntu-Frame?
I'm currently using Raspberry Pi 4 (4GB), but planning to move the SD Card to Raspberry Pi Zero 2W (so using the 32-bit armhf architecture for compatibility, although the Pi Zero 2 is 64-bit?) in accordance with this article (appreciate performance could be insufferable).
I've successfully followed this guide to use wpe-webkit-mir-kiosk, however the browser seems to crash if I navigate to certain pages, and doesn't appear very stable for my usage case. Plus the web application I'm hoping to use only officially supports Firefox on Linux, Edge on Windows, and Chrome on Android (from the developer).
- It seems that Ubuntu-Frame supports a local display via Wayland. I can't work out if this supersedes mir-kiosk (which I have also tried to provide the display output via Wayland).
- Firefox supports Wayland in recent versions with
MOZ_ENABLE_WAYLAND=1. Firefox cannot be set as daemon, so will not launch on startup as other snap packages do. - These are all snap packages supported on Ubuntu Core
snap install ubuntu-frame | snap install firefox
I have Ubuntu Core 20 (32-bit) running on the Pi 4, and have installed all the snap packages successfully, I just cannot work out how, or if it is possible to get Firefox to connect the Wayland display output?
Currently I am getting the following when starting Firefox: Error: no DISPLAY environment variable specified
I have tried following this guide, but it is really beyond my understanding having not worked with snap packages before, although I believe I have a good understanding of the concepts from my professional experience.
I don't know if the below is helpful, do I need to run Firefox as the root user?
Ubuntu Core: ubuntu-frame runs as root on Core, thus the Wayland socket is located at /run/user/0/wayland-0
Forcing a $DISPLAY environmental variable understandably does not have any success.
I feel like this should be possible, and would greatly appreciate any advice on a way forward. Would be very happy to share/blog the entire build once complete. Effectively, it should make a nice light-weight client browser Kiosk.