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.

    disable X11 lightdm

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    8 Posts 2 Posters 853 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.
    • E Offline
      emadragon
      last edited by

      I have a problem, I had a magic mirror on RPI 3B+ I had to rotate the screen by X11 screen configuration cause dysplay rotate doesn’t work…

      Now, when I start the mirror, start X11 Desktop manager than Magic Mirror, can I disable the Desktop manager in the background and start only the mirror

      Thanks

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

        @emadragon no… MM uses a browser which requires the graphical desktop to display content

        which OS are you on?

        lsb_release -a
        

        will show you

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • E Offline
          emadragon
          last edited by

          Raspian gnu/linux 11 bullseye

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

            @emadragon the desktop has a config panel under menu top left, preferences, display where you can do the rotate

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              @sdetweil yes, I have done, but now, when i start the mirror, I have lxde on the background…
              Is correct ?

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

                @emadragon said in disable X11 lightdm:

                I have lxde on the background

                i don’t know what you mean

                what is ‘start the mirror’? boot, or type a command, if command, what command

                how did you install mm? manual , or my script?

                what did you do to ‘start’ the mirror on boot if a manual install?

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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

                  @sdetweil I used MM as in the Magic Mirror documentation, now, when Rasperry Boot, start Lxde, than start Magic Mirror

                  How can i start only Magic Mirror ?
                  It’s possible?

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

                    @emadragon I don’t know…

                    my scripts use the node process manager (pm2) so that its the same on every platform

                    see
                    https://github.com/sdetweil/MagicMirror_scripts

                    the fixuppm2 script at the bottom of the page…

                    then u would undo what the lxde setup was

                    then its auto started on boot…
                    but you can control it with the pm2 command

                    pm2 status
                    pm2 stop xx (or all)
                    pm2 start xx (or all)
                    pm2 restart xx

                    output is captured to two logs

                    pm2 logs --lines=nn
                    (nn is some number, 15 by default)

                    you can redirect that output to a file to view it if there issues

                    during development and test, I don’t use pm2, I just

                    cd ~/MagicMirror
                    npm start >somefile.txt 2>&1
                    

                    then it captures all the output to ~/MagicMirror/somefile.txt
                    ctrl-q on the MM screen stops it
                    ctrl-m minimizes

                    once u have everything working , then reboot or pm2 start all

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    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