I want to install mir-kiosk and the chromium-mir-kiosk on a raspberry pi3 with “Ubuntu Server 18.04” operating system, is there a problem with that? I have read some forums but I have not been lucky.
chromium-mir-kiosk is deprecated in favour of wpe-webkit-mir-kiosk
Good luck!
Edit: @menarcarlos, once you’ve worked out what graphics packages you need to add to Ubuntu Server could you document it here for the next guy that asks?
the kernel is identical on core an server, it should ship everything needed by default …
the server installer is sadly differently set up to ubuntu core though, my assumption is that @menarcarlos will need to edit the config.txt file (in the first partition) to contain dtoverlay=vc4-kms-v3d … to enable KMS support in the kernel as i think this is not enabled by default on server systems.
I installed the mesa-utils libraries via apt. also add “dtoverlay = vc4-kms-v3d” to the config.txt file and other functions to enable the frequency on a screen via HDMI and the GPU memory destined to 512.
By running mir-kiosk I get the orange screen and then in black, however nothing is seen.
Agreed, it seems likely that “not seeing anything” is a problem with the client. Either it is not installed, or it runs as a daemon and failed to start because mir-kiosk wasn’t available at the time.
The unfortunate formatting hides it, but that is a command run by the snap’s scripting. The user command being run is:
Everything after that is normal mir-kiosk startup. This isn’t the recommended way to start mir-kiosk, but it suffices to show that the graphics stack is working.
ubuntu@ubuntu:~$ sudo snap logs chromium-mir-kiosk
2019-10-17T02:51:23Z chromium-mir-kiosk.chromium-mir-kiosk[12232]:
[12419:12419:1017/025123.249808:ERROR:zygote_linux.cc(278)] Unexpected
real PID message from browser
2019-10-17T03:12:27Z chromium-mir-kiosk.chromium-mir-kiosk[2593]:
glamor: EGL version 1.4 (DRI2):
2019-10-17T03:13:35Z chromium-mir-kiosk.chromium-mir-kiosk[2593]:
[2813:3091:1017/031334.900751:ERROR:bus.cc(394)] Failed to connect to
the bus: Could not parse server address: Unknown address type
(examples of valid types are “tcp” and on UNIX “unix”)
2019-10-17T03:13:53Z chromium-mir-kiosk.chromium-mir-kiosk[2593]: (EE)
2019-10-17T03:13:53Z chromium-mir-kiosk.chromium-mir-kiosk[2593]:
Fatal server error:
2019-10-17T03:13:53Z chromium-mir-kiosk.chromium-mir-kiosk[2593]: (EE)
failed to dispatch Wayland events: Broken pipe
2019-10-17T03:13:53Z chromium-mir-kiosk.chromium-mir-kiosk[2593]: (EE)
2019-10-17T03:14:07Z chromium-mir-kiosk.chromium-mir-kiosk[2593]: i3:
Cannot open display
2019-10-17T03:14:12Z chromium-mir-kiosk.chromium-mir-kiosk[2593]:
[2813:2813:1017/031412.594105:WARNING:password_store_factory.cc(253)]
Using basic (unencrypted) store for password storage. See https://chromium.googlesource.com/chromium/src/+/master/docs/linux_password_storage.md
for more information about password storage options.
2019-10-17T03:14:23Z chromium-mir-kiosk.chromium-mir-kiosk[2593]:
[2813:2813:1017/031423.543704:ERROR:chrome_browser_main_extra_parts_x11.cc(62)]
X IO error received (X server probably went away)
ubuntu@ubuntu:~$
I think it is for some parameter in the chromium version, is there another way to install “chromium-mir-kiosk” similar to “snap install chromium-mir-kiosk” or should I try wpe-webkit-mir-kiosk.
It basically is unmaintained already, we unlisted it from the store and recommending transition to wpe-webkit-mir-kiosk, maintained by the community. We never supported chromium-mir-kiosk, it is a proof of concept and an experiment.
I tried several times to run the mir-kiosk snap on a pi3 running ubuntu server 64-bit, without success . Obviously i’ve used “dtoverlay = vc4-kms-v3d”, i have set the GPU memory to 512 and i have installed the mesa-utils libraries.
Can you report here the full process to get it working, please ?
It’s true, @alan_g thank you very much! i am going to place the snap with the right confinement.
Now i do have another small problem maybe @dot-tobias can help me: i have done the same procedure for the raspberry PI4 and now i have the mir-kiosk snap working (orange blink and then black screen with cursor). wpe-webkit-mir-kiosk fails to start with this log:
sudo snap logs wpe-webkit-mir-kiosk
2020-04-04T22:21:23Z -[4543]: Renderer process terminated and failed to recover within 1000ms
2020-04-04T22:21:23Z -[4543]: <URL(changed)> Crash!: The renderer process crashed. Reloading the page may fix intermittent failures.
2020-04-04T22:21:23Z -[4543]: <URL(changed)> Crash!: The renderer process crashed. Reloading the page may fix intermittent failures.
2020-04-04T22:21:23Z wpe-webkit-mir-kiosk.browser[4385]: EGLDisplay Initialization failed: EGL_NOT_INITIALIZED
2020-04-04T22:21:24Z -[4543]: Renderer process terminated and failed to recover within 1000ms
2020-04-04T22:21:24Z -[4543]: <URL(changed)> Crash!: The renderer process crashed. Reloading the page may fix intermittent failures.
2020-04-04T22:21:24Z -[4543]: <URL(changed)> Crash!: The renderer process crashed. Reloading the page may fix intermittent failures.
2020-04-04T22:21:24Z wpe-webkit-mir-kiosk.browser[4385]: EGLDisplay Initialization failed: EGL_NOT_INITIALIZED
2020-04-04T22:21:24Z -[4543]: Renderer process terminated and failed to recover within 1000ms
2020-04-04T22:21:24Z -[4543]: <URL(changed)> Crash!: The renderer process crashed. Reloading the page may fix intermittent failures.