Read the statement by Michael Teeuw here.
Failed to Connect to Wayland Display
-
Yes it does:
if [ $(ps -ef | grep -v grep | grep -i -e xway -e labwc | wc # if WAYLAND_DISPLAYis set, use it, else set to -0 export WAYLAND_DISPLAY=${WAYLAND_DISPLAY:=wayland-0} npm run start:wayland else DISPLAY=:0 npm start fi -
@atwist
So it shouldn’t be trying to start using wayland
And npm start on 2.34.0 uses x11 -
weird. Any suggestionon what to do?
-
-
@sdetweil thanks. It shows that the process started successfully but it doesn’t appear on the screen.
-
@atwist you are on the pi directly, right? Not via ssh or vnc
-
@atwist try adding these two lines in front of the
export DISPLAY=:0 export ELECTRON_OZONE_PLATFORM_HINT=x11npm start line
And try the
./MagicMirror.sh again.May need to reboot before retry
-
@sdetweil yes directly on it
-
@sdetweil the file you are referring to is in the installers folder. Correct?
It does start the interface with your suggestions. Is it able to start it in reboot since it no longer does?
-
pm2 status
Then
pm2 start xxxWhere xxx is the name or number of the row in the status output
Then pm2 save
And the sudo reboot
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login