I've been running an Electron App on a Pi4, Ubuntu 22.04 Server, and Gnome desktop without issue. Since it runs as a kiosk anyway as a single app, I've been attempting to eliminate Gnome and just launching from the CLI (with X installed). However, I'm getting:
ERROR:ozone_platform_x11.cc(247) Missing X server or $DISPLAY
The platform failed to initialize. Exiting.
I've read about setting "DISPLAY=$HOST_IP:10.0", however I'm not clear where that would be set, or if that's applicable to this situation. I'm pretty new to this part, so any help would be appreciated!