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.

    Failed to Connect to Wayland Display

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    15 Posts 3 Posters 811 Views 3 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 @atwist
      last edited by sdetweil

      @atwist how are you starting MagicMirror?

      pm2? How did you install MagicMirror

      If my script, then look at
      ~/MagicMirror/installers/mm.sh

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • C Offline
        chrisfr1976 @atwist
        last edited by

        @atwist
        You could try this as start script:

        
        #!/bin/bash
        cd ~/MagicMirror
        
        export DISPLAY=:0
        export ELECTRON_OZONE_PLATFORM_HINT=x11
        
        npm start
        
        

        The --ozone-platform-hint=x11 flag overrides the automatic detection and forces Electron into X11 mode. Maybe……

        Regards, Chris.

        A 1 Reply Last reply Reply Quote 0
        • A Offline
          atwist
          last edited by

          I don’t remember how i installed it but I don’t have MagicMirro.sh so i must not have used your script.

          S 1 Reply Last reply Reply Quote 0
          • A Offline
            atwist @chrisfr1976
            last edited by

            @chrisfr1976 Thanks for the reply. Sorry but how would i do that?

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

              @atwist script name error, I made a shortcut for mm and didn’t catch it expanding there

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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