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.

    Magic Mirror logo appears at Boot and then the Raspberry desktop

    Scheduled Pinned Locked Moved Solved Troubleshooting
    21 Posts 2 Posters 6.8k 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.
    • S Offline
      sdetweil @Syosse
      last edited by

      @Syosse ok, try this then

      cat  ~/MagicMirror/installers/pm2_MagicMirror_new.json
      

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        Syosse @sdetweil
        last edited by

        @sdetweil said in Magic Mirror logo appears at Boot and then the Raspberry desktop:

        @Syosse ok, try this then

        cat  ~/MagicMirror/installers/pm2_MagicMirror_new.json
        

        2023-10-22 17_25_39-Admin@rapibag-magicmirror_ ~_MagicMirror.png

        thanks so much!

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @Syosse
          last edited by

          @Syosse and then if you do

          pm2 start  ~/MagicMirror/installers/pm2_MagicMirror_new.json
          

          if it works, then
          pm2 save
          then
          sudo reboot

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            Syosse @sdetweil
            last edited by

            @sdetweil said in Magic Mirror logo appears at Boot and then the Raspberry desktop:

            @Syosse and then if you do

            pm2 start  ~/MagicMirror/installers/pm2_MagicMirror_new.json
            

            if it works, then
            pm2 save
            then
            sudo reboot

            Omg it works!!

            Oh man, what was the problem?

            Thanks soo much !!!

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @Syosse
              last edited by

              @Syosse said in Magic Mirror logo appears at Boot and then the Raspberry desktop:

              Oh man, what was the problem?

              the pm2 startup generated command fails when in a script suddenly

              but it works when done manually…

              I have issue open since May
              https://github.com/Unitech/pm2/issues/5582

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                Syosse @sdetweil
                last edited by

                @sdetweil said in Magic Mirror logo appears at Boot and then the Raspberry desktop:

                @Syosse said in Magic Mirror logo appears at Boot and then the Raspberry desktop:

                Oh man, what was the problem?

                the pm2 startup generated command fails when in a script suddenly

                but it works when done manually…

                I have issue open since May
                https://github.com/Unitech/pm2/issues/5582

                thanks man , unfortunately there is still a problem as soon as I enter the following commands it works and magic mirror starts but after reboot the desktop comes back

                with this command Magic Mirror starts

                pm2 start  ~/MagicMirror/installers/pm2_MagicMirror_new.json
                
                

                after this command it still works

                pm2 save
                

                and after this reboot command the raspberry pi restarts and it shows the desktop instead Magic Mirror.

                 sudo reboot
                

                2023-10-22 22_43_02-Window.png

                thanks so much

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @Syosse
                  last edited by sdetweil

                  @Syosse did you execute the command output from first

                  pm2 startup 
                  

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    Syosse @sdetweil
                    last edited by

                    @sdetweil said in Magic Mirror logo appears at Boot and then the Raspberry desktop:

                    @Syosse did you execute the command output from first

                    pm2 startup 
                    

                    yea of course:

                    
                    Admin@magicmirror:~ $ pm2 startup
                    [PM2] Init System found: systemd
                    [PM2] To setup the Startup Script, copy/paste the following command:
                    sudo env PATH=$PATH:/usr/local/bin /usr/local/lib/node_modules/pm2/bin/pm2 startup systemd -u Admin --hp /home/Admin
                    
                    
                    

                    thanks so much

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @Syosse
                      last edited by

                      @Syosse and copy paste THAT command and execute it

                      sudo env…

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @sdetweil
                        last edited by

                        @Syosse we got it working in chat

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 2 / 3
                        • 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