Starting MM on Reboot
I followed the instructions linked below to have Magic mirror start up automatically when i reboot my Pi, but for some reason its not working for me. If i run “pm2 start mm.sh” from the command line, it will restart MM anytime i close it, but once i reboot i just sit at the desktop. Any idea what i should try first to fix this? also, is there a way to make a desktop shortcut that i can click on to run MM in the event that this happens in the future?
One or two things are usually the cause of this.
"PM2 will now show you a command you need to execute."
This step gets missed a lot.
pm2 start mm.sh
You mirror should now boot up and appear on your screen after a few seconds.
Enable restarting of the MagicMirror script.
To make sure the MagicMirror restarts after rebooting, you need to save the current state of all scripts running via PM2. To do this, execute the following command
Thanks, i needed to execute the command