Read the statement by Michael Teeuw here.
How I got my Magic Mirror working on a Raspberry Pi 0 (zero)
-
If i don’t currently have a monitor is there a way for me to test the output of the MM when running on the zero with Raspbian lite via VNC ?
-
@Mar if your running Jessie full you can SSH into the RPI and enable vnc
-
@SebTota yeah i realized that, but have a pi zero running lite as i dont require full. was hoping that if i did install vnc and all the dependencies if it would be possible to vnc in and see the mirror as it would in a monitor?
-
@Mar I have tried myself with no success. Let me know if you figure it out.
-
-
@Mar you can’t just copy and paste the drive. Download win32diskimager and read the SD card to a new .ISO file on your pc
-
This post is deleted! -
So I had a few errors along the way and had to install some libraries etc and managed to get past a bunch of errors. (libgconf-2-4 and libxss1 for anyone who ends up here!)
But now im at the point where midori loads but has a connection refused page. When I ssh in i can put the command “node serveronly” and it starts up and has a nice log going, or I can use the “DISPLAY=:0 npm start” and it seems all fine with the following lines and no more errors:
magicmirror@2.1.0 start /home/pi/MagicMirror
electron js/electron.jsjust not sure whats happening as midori is showing connection refused…maybe the startup script “startMagicMirror” is not actually executing the node serveronly command???
Any help would be appreciated.
Update: Ok so running the “node serveronly” command from ssh and then pointing my laptop browser to the rpi:8080 loads up the MM. But Midori on the Pi is still showing that connection refused. Also…i followed the guide fully so why is the serveronly command not executed by the startup script we put in init.d?
Also is there a way for me to see this node serveronly log on the MM screen (say i dont start midori and leave it on the command line?) -
This post is deleted! -
So I’ve managed to get MM to start using PM2 and can access the page via my laptop.
Only problem I have now is I cant get Midori to auto start, I’m using the same commands from the startmidori script in the mm.sh script for pm2.