Read the statement by Michael Teeuw here.
Does magicmirror need minimal X11 to run?
-
I would look at this docker setup
https://gitlab.com/khassel/magicmirrorOtherwise run container in serveronly mode and use chrome on the pi to view the app.
-
@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
-
@lpt2007 need more libraries.
I’d run serveronly in the container, and use chromium from outside the container
-
@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?
-
@lpt2007 said in Does magicmirror need minimal X11 to run?:
Any idea what error I posted means?
yes, u need more libraries loaded into the container…
/lib/arm-linux-gnueabihf/libdbus-1.so.3
-
@lpt2007 use the other docker image I posted a link to… it ‘supposedly’ works… but depends on a security breach in my opinion,
letting a container write directly to the docker host XWIndows -
@lpt2007 said in Does magicmirror need minimal X11 to run?:
Thanks, but this is not an option, because I try to use mm as addon for Home Assistant and I use hassos image
i don’t really understand, as BOTH approaches will require some browser to be running ON the HASSOS image ALL THE TIME… (somewhere)
-
@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.3This library is already installed.
-
@lpt2007 said in Does magicmirror need minimal X11 to run?:
This library is already installed.
no version information available
-
@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.