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.

    Wayland question

    Scheduled Pinned Locked Moved Solved Troubleshooting
    10 Posts 3 Posters 839 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.
    • G Offline
      gonzonia @sdetweil
      last edited by

      @sdetweil

      WAYLAND_DISPLAY=wayland-0
      
      1 Reply Last reply Reply Quote 0
      • G Offline
        gonzonia @sdetweil
        last edited by

        @sdetweil said in Wayland question:

        MagicMirror/installers/mm.sh

        I have a theory…I did the install via ssh and not directly on the pi. Maybe that broke it?

        S 1 Reply Last reply Reply Quote 0
        • S Do not disturb
          sdetweil @gonzonia
          last edited by sdetweil

          @gonzonia no. I use ssh all the time, never real keyboard

          The start:Wayland says

          If WAYLAND_DISPLAY is set, use it, else set it to wayland-1
          But
          Maybe it needs to be wayland-0

          So add
          export WAYLAND_DISPLAY=wayland-0
          Before the npm run start:Wayland line

          And try that

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @sdetweil I think that worked. I was able to start it with pm2.

            S 1 Reply Last reply Reply Quote 1
            • S Do not disturb
              sdetweil @gonzonia
              last edited by

              @gonzonia cool

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              S 1 Reply Last reply Reply Quote 0
              • S Do not disturb
                sdetweil @sdetweil
                last edited by

                I’ll see if I can mod the script, not til Monday

                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
                  schlomm @sdetweil
                  last edited by

                  Hi @sdetweil
                  I have tested your updated script and it works flawlessly. Exporting the needed WAYLAND environment variable was exactly what I was looking for.

                  Since I install MagicMirror via an Ansible playbook, the required environment variables are not set in the used .pm2/dump.pm2 file - my previous approach was to restore a prepared dump.pm2 file, but with your approach it is much more convenient :)

                  S 1 Reply Last reply Reply Quote 0
                  • S Do not disturb
                    sdetweil @schlomm
                    last edited by

                    @schlomm awesome, thanks for the feedback

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • S sdetweil has marked this topic as solved on
                    • 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