Read the statement by Michael Teeuw here.
MM not starting up
-
Hey guys. I’ve just installed MM from github onto my raspberry pi 3. I have followed all the instructions on the git hub page down to a “T”, but when I write…
pm2 start mm.sh
…into the terminal window, nothing happens. I carried on following the rest of the instructions until the end, hoping that it might work after restarting the raspberry pi but still, nothing happens.
Any ideas where I might be going wrong? Are the setup instructions still correct? I’m guessing they are.
-
have you tried just to go in to the magicmirror folder and just type “npm start”? that will give you an indication if it’s the mirror that won’t start or if it’s the start script that doesn’t work.
And, you have to be in the window handler for the magicmirror to run.
-
@broberg If you set DISPLAY=:0 in your environment before starting MM, then you don’t have to be at the console.
-
@jag the LXDE still has to be running, the display=:0 is, If I’m not mistaken, if you run it remotely, right?
-
@broberg Yes LXDE has to be running (preferably on boot).
Then you you may login using ssh, and start MM manually.
As long as you set the DISPLAY env variable correctly you can start X-apps on the display. -
@jag Had time to change my answer after a google search, sorry. we are on the same page :D
-
Hey guys
Many thanks for all your replies. Not sure why it wasn’t working. I had to reinstall MM and now it’s working just fine. :)