Hi,
Raspberry Pi OS Bookworm is now defaulting to Wayland and Wayfire and because of this change MagicMirror is not able to start via the standard npm run start as its looking for DISPLAY to be set which doesn't exist anymore on Wayland.
Maybe adding a start-wayland option to package.json will be a requirement in order to allow users running on modern distributions to use MagicMirror.
This is how I'm running it and its working very well so far:
WAYLAND_DISPLAY="${WAYLAND_DISPLAY:=wayland-1}" ./node_modules/.bin/electron js/electron.js --enable-features=UseOzonePlatform --ozone-platform=wayland
Related to https://gitlab.com/khassel/magicmirror/-/issues/74
Hi,
Raspberry Pi OS Bookworm is now defaulting to Wayland and Wayfire and because of this change MagicMirror is not able to start via the standard
npm run startas its looking forDISPLAYto be set which doesn't exist anymore on Wayland.Maybe adding a
start-waylandoption topackage.jsonwill be a requirement in order to allow users running on modern distributions to use MagicMirror.This is how I'm running it and its working very well so far:
Related to https://gitlab.com/khassel/magicmirror/-/issues/74