Hello,
This is my first post here, so I would like to greet everyone! :)
So I installed MM on my PI 3 v1.2 year 2015, and I tried to start it via SSH.
Of course I read manual and I’m trying to start it by DISPLAY=:0 npm start
But it’s giving me this error
root@raspberrypi:~/MagicMirror# DISPLAY=:0 npm start
> magicmirror@2.4.1 start /root/MagicMirror
> sh run-start.sh
No protocol specified
(electron:2352): Gtk-WARNING **: cannot open display: :0
npm ERR! Linux 4.14.70-v7+
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
npm ERR! node v4.2.1
npm ERR! npm v2.14.7
npm ERR! code ELIFECYCLE
npm ERR! magicmirror@2.4.1 start: `sh run-start.sh`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the magicmirror@2.4.1 start script 'sh run-start.sh'.
npm ERR! This is most likely a problem with the magicmirror package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! sh run-start.sh
npm ERR! You can get their info via:
npm ERR! npm owner ls magicmirror
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /root/MagicMirror/npm-debug.log
What is strange when I typed echo $DISPLAY
on PI it showed value 0.0, so I also tried DISPLAY=:0.0 npm start
but the result is still the same…
Some specs:
I’m using ssh via MacBook Pro Mid 2014, Mac OS High Sierra 10.13.6
Fresh install of Rasbian Stretch, kernel 4.14.70-v7+
Please help :C