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.

    YAPi0 Installer Stretch Lite

    Scheduled Pinned Locked Moved General Discussion
    118 Posts 4 Posters 93.7k 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.
    • B Offline
      bdream
      last edited by

      @sdetweil said in YAPi0 Installer Stretch Lite:

      #you should test this from a command prompt window

      pi@RasPiZeroW:~/MagicMirror $ node serveronly &
      [1] 3121
      pi@RasPiZeroW:~/MagicMirror $ chromium-browser -kiosk -start_maximized http://localhost:8080
      [3127:3127:1020/181325.903037:ERROR:browser_main_loop.cc(596)] Failed to put Xlib into threaded mode.
      
      (chromium-browser:3127): Gtk-WARNING **: 18:13:26.114: cannot open display:
      pi@RasPiZeroW:~/MagicMirror $ Starting MagicMirror: v2.9.0
      Loading config ...
      Loading module helpers ...
      No helper found for module: alert.
      Initializing new module helper ...
      Module helper loaded: updatenotification
      No helper found for module: clock.
      Initializing new module helper ...
      Module helper loaded: calendar
      No helper found for module: compliments.
      No helper found for module: currentweather.
      No helper found for module: weatherforecast.
      Initializing new module helper ...
      Module helper loaded: newsfeed
      All module helpers loaded.
      Starting server on port 8080 ...
      Server started ...
      Connecting socket for: updatenotification
      Connecting socket for: calendar
      Starting node helper for: calendar
      Connecting socket for: newsfeed
      Starting module: newsfeed
      Sockets connected & modules started ...
      
      Ready to go! Please point your browser to: http://localhost:8080
      
      

      –
      cheers, bdream

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

        @bdream
        add

        export DISPLAY=:0
        

        in front of

        chromium...
        

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • B Offline
          bdream
          last edited by

          @sdetweil said in YAPi0 Installer Stretch Lite:

          export DISPLAY=:0

          that is I should know. SORRY!

          Get the information that Chromium is not the standardbrowser

          –
          cheers, bdream

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

            @bdream

            yes, set as default

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • B Offline
              bdream
              last edited by

              ahh, I have to make it standard ;)
              it works now. That was a hard born (is this I can say in englich? :dizzy_face: )

              RBB

              –
              cheers, bdream

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

                @bdream very hard!!!.. bug in electron I THINK with glibc on buster…

                i think if you went back to raspian stretch it would have worked with electron
                I will test that when my pi 0 gets here

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                B 1 Reply Last reply Reply Quote 0
                • B Offline
                  bdream @sdetweil
                  last edited by

                  @sdetweil many, many thanks to you Sam!

                  To recab,
                  I need your script, not any Updates and Upgrades of raspbian System, and the last Chat entries?

                  Can I run it on Rpi1 also?

                  And you woumd prefer Streich instead of Buster?

                  –
                  cheers, bdream

                  B S 2 Replies Last reply Reply Quote 0
                  • B Offline
                    bdream @bdream
                    last edited by

                    @bdream excuse my typos!

                    –
                    cheers, bdream

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

                      @bdream said in YAPi0 Installer Stretch Lite:

                      I need your script, not any Updates and Upgrades of raspbian System, and the last Chat entries?
                      Can I run it on Rpi1 also?

                      yes, any pi version, plus odroid, jetson nano, ubuntu, macOS, Sierra-Catalina (all i have tested on)

                      And you would prefer Streich instead of Buster?

                      the bug is caused by a newer version of glibc (2.28), and buster has that, while stretch has 2.27
                      so, i think (will test myself later), with stretch, you would not need to use chrome browser

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • B Offline
                        bdream
                        last edited by

                        Great Sam!
                        I have next week some time and will try with Pi0 and Pi1 both ways:

                        1. Buster and additions
                        2. Strech
                          let you know results.

                        For now I will close this threat as solved

                        :smiling_face_with_open_mouth_closed_eyes: :grinning_face: :smiling_face_with_open_mouth: :smiling_face_with_open_mouth_smiling_eyes: :hugging_face: :hugging_face: :hugging_face:

                        –
                        cheers, bdream

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