I built an electron app using electron-builder for my raspberry pi, but the problem is that it won’t run on Ubuntu Core. It throws this error:
Gtk-WARNING **: cannot open display
I’m guessing it’s because ubuntu core doesn’t ship with any graphical libraries installed.
Do I need to install some sort of a display server like this: https://snapcraft.io/mir-kiosk
…and then connect my electron app to that?
Or is this unnecessary and instead I need to follow these instructions: https://hackmd.io/0I09MG1FRKqO0ehIdLHpoQ#
The mir server electron app example seems a bit outdated – can’t figure out if that’s still the proper way to do things…