Read the statement by Michael Teeuw here.
MM on NanopiM4 using Lubuntu...
-
@banbutcher
Electron is not installed? What kind of OS are you using? Almost all Debian clones could handle MM. The possible issue might be about GPU driver. -
@banbutcher
And you can launch Chrom(Chromium) with kiosk fullscreen mode on startup of MagicMirror. It could be alternative solution. -
im using Lubuntu… not sure about electron, have only come across it when installing hotword and MK2assistant.
not sure how to launch with kiosk fullscreen mode
-
@banbutcher
Hmmm.
First, Could your default pure MM(without hotword and AMK2) be executed standalone?
Second, if so, you mean when it would be issued only with Hotword and AMK2? (But in browser, both modules work?)
Third, if so, It means your Hotword and AMK2 might have missed or failed onelectron-rebuild
step. -
it is a complete fresh install, ran this from link above.
bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)"
-
@banbutcher
So pure MM also cannot be executable standalone? -
with pm2 stopped, when i type
npm start
nothin happens untill i manually open chrome and goto localhost -
@banbutcher this means u are starting in server only mode.
Can u tell me more?
execute
cd ~/MagicMirror
bash -x ./run-start.shAnd then post the output. (maybe 15 lines)
Usually this is because it cannot find xwindows running
I made all the changes to run-start
on my machine, the output looks like this
bash -x ./run-start.sh + '[' -f ./untrack-css.sh ']' + ./untrack-css.sh + grep docker /proc/1/cgroup -qa + '[' -z :0.0 ']' ++ uname -m + arch=x86_64 + false=false ++ grep -v '^[[:blank:]]*//' config/config.js ++ awk '{print tolower($2)}' ++ tr -d ',"'\''\r' ++ grep -i serveronly: + serveronly= + serveronly=false ++ pgrep Xorg + xorg=621 ++ uname + mac=Linux + '[' false. '!=' false. -o x86_64 == armv6l ']' + '[' 621. == . -a Linux '!=' Darwin ']' + node_modules/.bin/electron js/electron.js
-
~/MagicMirror$ bash -x ./run-start.sh + '[' -f ./untrack-css.sh ']' + ./untrack-css.sh + grep docker /proc/1/cgroup -qa + '[' -z :0.0 ']' ++ uname -m + arch=aarch64 + false=false ++ grep -v '^[[:blank:]]*//' config/config.js ++ awk '{print tolower($2)}' ++ grep -i serveronly: ++ tr -d ',"'\''\r' + serveronly= + serveronly=false ++ pgrep Xorg + xorg= ++ uname + mac=Linux + '[' false. '!=' false. -o aarch64 == armv6l ']' + '[' . == . -a Linux '!=' Darwin ']' + '[' false. == true. ']' + '[' . == . -a Linux '!=' Darwin ']' + node serveronly
seems to show serveronly to be false?
-
@banbutcher this says xwindows not running( ie text console mode)
pgrep Xorg + xorg=
Can u do
ps -ef
So I can fix the script…
And also
lsb_release -a