Read the statement by Michael Teeuw here.
MagicMirror fails to start after fresh install
-
@Wippo said in MagicMirror fails to start after fresh install:
Hoping for help
Starting using
pi@raspberrypi:~/MagicMirror $ DISPLAY=:0 npm startImportant:
npm start
does not work via SSH, useDISPLAY=:0 nohup npm start &
instead. This starts the mirror on the remote display.Are you starting the mirror via SSH? If you are then the command is
DISPLAY=:0 nohup npm start &
in yourMagicMirror
directory.If you are directly connected to your Pi3 then the command is simply
npm start
in yourMagicMirror
directory. -
Thanks for your advice, but that’s not the reason. I checked it again and the results are the same, independent of starting via SSH or directly.
Now solved. :-)
“npm start” has to be executed after starting the graphic desktopWippo
-
This post is deleted! -
@Wippo Hey! I’m having a similar error message to you. What did you do to solve it?
-
@longod Hi, you have to start the graphic desktop before execution of “npm start” (or similar) from a console. My error was to stop system start at console level.
Wippo
-
@wippo Hi - can you be more detailed when you say “you have to start the graphic desktop before execution”? I am pretty new to this and have no idea what you mean. I have the exact same errors on the same set up you have. Thank you.
-
Hi,
after powering on the Raspi and waiting a while, you have either a “console” (white letters on a black screen) or graphic desktop (colors and symbols like “Windows”). What you need for the Magic Mirror is the desktop. You can change the boot behavior using “sudo raspi-config”.Wippo
-
Thank you. I actually did a new complete install from scratch and got MM to work!