I tried building the snap on top of your blog post. The only error showing up now is this one. So the lib reference errors are gone.
Error: Unable to find a valid Wayland socket in /run/user/1000
Is a Wayland server running?
You could try running as root
However, running as a root user returns this error message:
mkdir: cannot create directory '/run/user/0': Permission denied
rm: cannot remove '/root/snap/aidm-kiosk-system/x1/.local/share/mime/application': Directory not empty
rm: cannot remove '/root/snap/aidm-kiosk-system/x1/.local/share/mime/text': Directory not empty
mkdir: cannot create directory '/run/user/0': Permission denied
Tried to install it as the root user as well as my user. I don’t know if this makes a difference.
I also checked the recommended tasks from this blog post.
The output of ps aux | grep mir-kiosk
looks like this. So mir-kiosk is running.
16083 0.0 0.0 3704 572 pts/0 S+ 11:07 0:00 grep --color=auto mir-kiosk