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 5.0k 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
      Syosse
      last edited by

      Hello
      I ran following commands from a tutorial

      1.) Install Magic Mirror:
      bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)”

      2.) Turn off screen saver and setup pm2 to autostart MM on boot.
      bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/screensaveroff.sh)”

      3.) Add using pm2 to autostart MagicMirror at bootup
      bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/fixuppm2.sh)”

      This is the Command Screen:

      Magic1.png Magic2.png Magic3.png Magic4.png

      Anyone know why it shows only the Desktop and not the Magic Mirror ?

      Thanks!!!

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

        @Syosse you don’t need to run all the commands

        the install asks if u want to turn off the screensaver. if you said yes, then it’s done

        if u said no then you would run the screensaver off script it’s the exact same script code. it’s just there if you changed your mind.

        now on to the pm2 thing
        same same. but

        in some systems the automation script has trouble

        do this

        pm2 startup
        

        it will output a command to execute
        copy/paste that command and hit enter

        when it’s done do

        | edited
        pm2 start ~/MagicMirror/installers/pm2_MagicMirror_new.json
        pm2 save
        

        then 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 you don’t need to run all the commands

          the install asks if u want to turn off the screensaver. if you said yes, then it’s done

          if u said no then you would run the screensaver off script it’s the exact same script code. it’s just there if you changed your mind.

          now on to the pm2 thing
          same same. but

          in some systems the automation script has trouble

          do this

          pm2 startup
          

          it will output a command to execute
          copy/paste that command and hit enter

          when it’s done do

          pm2 start ~/MagicMirror/installers/pm2_MagicMirror.json
          pm2 save
          

          then reboot

          All right thanks for the Information with the Screensave, now its for me clear.
          I have done u Command but it shows me : [PM2][ERROR] Script not found: /home/Admin/up

          do u know why ?

          2023-10-22 14_33_50-Admin@rapibag-magicmirror_ ~.png

          Thanyk so much!

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

            @Syosse if you used either of my scripts I download that file

            do

            ls ~/MagicMirror/installers -laF
            

            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

              @sdetweil is Admin the root user, or the userid u created at SD card startup time?

              pm2 will run as user not root

              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:

                @sdetweil is Admin the root user, or the userid u created at SD card startup time?

                pm2 will run as user not root

                Admin is the Credentials that i insert at the beginning of Install Raspberry Pi Imager:

                2023-10-22 14_48_13-Raspberry Pi Imager v1.7.5.png

                ls ~/MagicMirror/installers -laF:

                2023-10-22 14_46_20-Admin@rapibag-magicmirror_ ~.png

                Thanks so much!

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

                  @Syosse can you do

                  cat  ~/MagicMirror/installers/pm2_MagicMirror.json
                  

                  thx

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

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

                    @Syosse can u also paste the contents of

                    ~/MagicMirror/installers/pm2_setup.log
                    

                    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 can u also paste the contents of

                      ~/MagicMirror/installers/pm2_setup.log
                      

                      yea of course:

                      2023-10-22 17_17_30-.png

                      Thanks so much!

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