MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. lpt2007
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    L
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 15
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Does magicmirror need minimal X11 to run?

      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.

      posted in General Discussion
      L
      lpt2007
    • RE: Does magicmirror need minimal X11 to run?

      Maybe the problem is host os, not a container?

      posted in General Discussion
      L
      lpt2007
    • RE: Does magicmirror need minimal X11 to run?

      @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

      posted in General Discussion
      L
      lpt2007
    • RE: Does magicmirror need minimal X11 to run?

      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.

      posted in General Discussion
      L
      lpt2007
    • RE: Does magicmirror need minimal X11 to run?

      @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?

      posted in General Discussion
      L
      lpt2007
    • RE: Does magicmirror need minimal X11 to run?

      @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.

      posted in General Discussion
      L
      lpt2007
    • RE: Does magicmirror need minimal X11 to run?

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

      not the right one

      I installed this one:

      root@local-mm:/# apt install libdbus-1-3
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      libdbus-1-3 is already the newest version (1.10.28-0+deb9u1).
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      
      posted in General Discussion
      L
      lpt2007
    • RE: Does magicmirror need minimal X11 to run?

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

      yes, u need more libraries loaded into the container…
      /lib/arm-linux-gnueabihf/libdbus-1.so.3

      This library is already installed.

      posted in General Discussion
      L
      lpt2007
    • RE: Does magicmirror need minimal X11 to run?

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

      @lpt2007 need more libraries.

      I’d run serveronly in the container, and use chromium from outside the container

      Thanks, but this is not an option, because I try to use mm as addon for Home Assistant and I use hassos image. The mm will be one of the systems I will use on rpi and I will call them trough ha when I need them.

      Any idea what error I posted means?

      posted in General Discussion
      L
      lpt2007
    • RE: Does magicmirror need minimal X11 to run?

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

      @lpt2007 graphical stuff not loaded in container.

      I added needed graphical libraries, now I get this error:

      /root/MagicMirror/node_modules/electron/dist/electron: /lib/arm-linux-gnueabihf/libdbus-1.so.3: no version information available (required by /root/MagicMirror/node_modules/electron/dist/electron)
      /root/MagicMirror/node_modules/electron/dist/electron: /lib/arm-linux-gnueabihf/libdbus-1.so.3: no version information available (required by /root/MagicMirror/node_modules/electron/dist/electron)
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! magicmirror@2.10.1 start: `./run-start.sh`
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the magicmirror@2.10.1 start script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /root/.npm/_logs/2020-01-16T19_00_47_796Z-debug.log
      
      posted in General Discussion
      L
      lpt2007
    • RE: Does magicmirror need minimal X11 to run?

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

      replace the run-start.sh with this one from the next release
      https://raw.githubusercontent.com/MichMich/MagicMirror/develop/run-start.sh

      I changed run-start.sh file and now I get this error:

      > magicmirror@2.10.1 start /root/MagicMirror
      > ./run-start.sh
      /root/MagicMirror/node_modules/electron/dist/electron: error while loading shared libraries: libgtk-3.so.0: cannot open shared object file: No such file or directory
      npm ERR! code ELIFECYCLE
      npm ERR! syscall spawn
      npm ERR! file sh
      npm ERR! errno ENOENT
      npm ERR! magicmirror@2.10.1 start: `./run-start.sh`
      npm ERR! spawn ENOENT
      npm ERR! 
      npm ERR! Failed at the magicmirror@2.10.1 start script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /root/.npm/_logs/2020-01-15T11_40_27_011Z-debug.log
      
      posted in General Discussion
      L
      lpt2007
    • RE: Does magicmirror need minimal X11 to run?

      I try to run it in docker container with gui on my pi . But when I start it, there is no output to HDMI. MM starts in server mode no matter what I do.

      posted in General Discussion
      L
      lpt2007
    • Does magicmirror need minimal X11 to run?

      Does magicmirror need minimal X11 to run?

      posted in General Discussion
      L
      lpt2007
    • RE: error when try to start mm

      I figured out the error occured when I try to run mm from ssh if I run directly on rpi consol it works?

      But I need to find solution to run mm from ssh. How?

      posted in Troubleshooting
      L
      lpt2007
    • error when try to start mm

      npm info it worked if it ends with ok
      npm info using npm@5.0.3
      npm info using node@v8.1.3
      npm info lifecycle magicmirror@2.6.0~prestart: magicmirror@2.6.0
      npm info lifecycle magicmirror@2.6.0~start: magicmirror@2.6.0

      magicmirror@2.6.0 start /opt/magic_mirror
      sh run-start.sh

      npm info lifecycle magicmirror@2.6.0~start: Failed to exec start script
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! magicmirror@2.6.0 start: sh run-start.sh
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the magicmirror@2.6.0 start script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

      npm ERR! A complete log of this run can be found in:
      npm ERR! /fakehome/root/.npm/_logs/2019-02-10T00_24_58_360Z-debug.log

      posted in Troubleshooting
      L
      lpt2007
    • 1 / 1