MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MM not starting up

    Scheduled Pinned Locked Moved Troubleshooting
    7 Posts 3 Posters 3.5k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? Offline
      A Former User
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • brobergB Offline
        broberg Project Sponsor
        last edited by

        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.

        J 1 Reply Last reply Reply Quote 0
        • J Offline
          jag @broberg
          last edited by

          @broberg If you set DISPLAY=:0 in your environment before starting MM, then you don’t have to be at the console.

          brobergB 1 Reply Last reply Reply Quote 0
          • brobergB Offline
            broberg Project Sponsor @jag
            last edited by broberg

            @jag the LXDE still has to be running, the display=:0 is, If I’m not mistaken, if you run it remotely, right?

            J 1 Reply Last reply Reply Quote 0
            • J Offline
              jag @broberg
              last edited by

              @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.

              brobergB 1 Reply Last reply Reply Quote 0
              • brobergB Offline
                broberg Project Sponsor @jag
                last edited by

                @jag Had time to change my answer after a google search, sorry. we are on the same page :D

                1 Reply Last reply Reply Quote 1
                • ? Offline
                  A Former User
                  last edited by

                  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. :)

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post
                  Enjoying MagicMirror? Please consider a donation!
                  MagicMirror created by Michael Teeuw.
                  Forum managed by Sam, technical setup by Karsten.
                  This forum is using NodeBB as its core | Contributors
                  Contact | Privacy Policy