A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
Failed to Connect to Wayland Display
-
Here is that information.
System Information
- SYSTEM: manufacturer: Raspberry Pi Foundation; model: Raspberry Pi 4 Model B Rev 1.5; virtual: false; MM: 2.34.0
- OS: platform: linux; distro: Debian GNU/Linux; release: 12; arch: arm64; kernel: 6.12.47+rpt-rpi-v8
- VERSIONS: electron: 39.2.7; used node: 22.21.1; installed node: 22.21.1; npm: 10.9.4; pm2: 6.0.14
- ENV: XDG_SESSION_TYPE: x11; MM_CONFIG_FILE: undefined
WAYLAND_DISPLAY: undefined; DISPLAY: :0; ELECTRON_ENABLE_GPU: undefined - RAM: total: 3796.86 MB; free: 2669.80 MB; used: 1127.06 MB
- OTHERS: uptime: 3427 minutes; timeZone: America/Chicago
-
Do you happen to have any ideas to fix it moving forward? Thanks!
-
@atwist how are you starting MagicMirror?
pm2? How did you install MagicMirror
If my script, then look at
~/MagicMirror/installers/mm.sh -
@atwist
You could try this as start script:#!/bin/bash cd ~/MagicMirror export DISPLAY=:0 export ELECTRON_OZONE_PLATFORM_HINT=x11 npm startThe --ozone-platform-hint=x11 flag overrides the automatic detection and forces Electron into X11 mode. Maybe……
-
I don’t remember how i installed it but I don’t have MagicMirro.sh so i must not have used your script.
-
@chrisfr1976 Thanks for the reply. Sorry but how would i do that?
-
@atwist script name error, I made a shortcut for mm and didn’t catch it expanding there
