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.

    Does magicmirror need minimal X11 to run?

    Scheduled Pinned Locked Moved General Discussion
    26 Posts 2 Posters 7.1k 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.
    • L Offline
      lpt2007 @sdetweil
      last edited by

      @sdetweil said in Does magicmirror need minimal X11 to run?:

      i don’t really understand, as BOTH approaches will require some browser to be running ON the HASSOS image ALL THE TIME… (somewhere)

      Container with mm must connect to host display. I made something simmilar with kodi media center in docker container.

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

        @lpt2007 ok, and why does chrome on the hassos not work?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @sdetweil said in Does magicmirror need minimal X11 to run?:

          @lpt2007 ok, and why does chrome on the hassos not work?

          Maybe I can try to made ha addon with chrome in kiosk mode to see where the problem is?

          1 Reply Last reply Reply Quote 0
          • L Offline
            lpt2007
            last edited by

            Thanks for your time @sdetweil :)

            I will first try docker container from link you posted before. One of scenario is about:

            Scenario 2: Using docker on the raspberry pi and starting the magicmirror on the screen of the pi.
            

            I will post results back.

            L 1 Reply Last reply Reply Quote 0
            • L Offline
              lpt2007 @lpt2007
              last edited by

              @lpt2007 said in Does magicmirror need minimal X11 to run?:

              Scenario 2: Using docker on the raspberry pi and starting the magicmirror on the screen of the pi.

              I will post results back.

              Again without success :(

              Error:
              (electron:41): Gtk-WARNING **: cannot open display: unix:0.0

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

                @lpt2007 yeh, its a tricky, not really supported approach
                I personally wouldn’t even try it

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • L Offline
                  lpt2007
                  last edited by

                  Maybe the problem is host os, not a container?

                  1 Reply Last reply Reply Quote 0
                  • L Offline
                    lpt2007
                    last edited by

                    Problem is host os. I downloaded latest raspbian buster image and followed guide from the link. Works like charm in docker container and display picture to host hdmi.

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

                      @lpt2007 now, if you go back to the 1st docker image, and then open a browser on the host connecting to

                      http://docker_container_ip:exposed_port
                      

                      you will get the same results…

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      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