Read the statement by Michael Teeuw here.
Black screen instead of desktop after installing PIR sensor
-
@Fozi Ok, I think the SSH interface is disabled. I’ve figured out a way to get into a terminal. It seems that the desktop is there, just its not showing. I was able to right-click, and click Terminal Emulator in the menu. Ok, i’m gonna try this, and see if it works. Thank you.
-
@Fozi It didn’t work, my desktop is still just a black screen. What can I do now to get the Raspberry Pi desktop and taskbar back? All the scripts you told me to remove are gone.
-
@09succotash Umpf…the last thing that comes to my mind…disconnect the PIR-Sensor from GPIO. Maybe it is not connected to the right pins, which may cause that strange behaviour.
Do you have the MM-software installed? If so, then copy the whole MagicMirror directory to a save place and reinstall Raspbian from scratch. It’s probably the fastest and easiest solution after all, if nothing else is installed on the RPi.
Maybe someone else here in the forum can help? Guys?
-
@Fozi MagicMirror framework is installed, yes.
-
@Fozi I can’t reinstall Raspbian because this is for a science fair project, due in two weeks, and I put too much work into it for me to be able to finish on time if I reinstall. There has to be a way to get my desktop back without reinstalling.
-
@09succotash As said, copy the whole MM-folder, eg. via scp to another PC and then reinstall Raspbian.
I’m sorry that I can’t provide a more satisfying solution:disappointed_face: -
This post is deleted! -
@Fozi Ahh, its ok. Thanks for your help, I’ll figure something out.
-
@09succotash can u ssh into the machine?
is MM running on pm2? do pm2 status, and if not stopped do pm2 stop for each line (use number or name)
-
@sdetweil I cannot ssh into it. I am able to access the terminal though. MM is running on pm2, I just setup an autostart script for it. I don’t think MM is causing the issue, because the issue started just when I was setting up the PIR sensor.