Read the statement by Michael Teeuw here.
Black screen instead of desktop after installing PIR sensor
-
@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.
-
@09succotash but it can’t hurt to stop it…
if you can get to terminal, then its not a desktop problem…
-
@sdetweil I could only get to terminal, by right clicking somewhere on the screen. I tried stopping MM using pm2, didn’t have any effect.
-
@09succotash said in Black screen instead of desktop after installing PIR sensor:
by right clicking somewhere on the screen
ok, so desktop is running, even tho u might not be able to see it…
-
@sdetweil Exactly. It seems to be running, but my wallpaper, taskbar, and icons are gone. Black screen shows in its place.
-
@09succotash this is stretch or???
lsb_release -a in the terminal window
-
@sdetweil This is Raspbian Stretch, yep.
-
@09succotash if u right click, does the popup menu have desktop preferences?
is should -
@sdetweil This is what mine looks like. The white bar at the top of the screen is vnc viewer, not the screen. I’m using vnc viewer on my laptop.

-
@09succotash ok, select Desktops or reconfigure
-
@sdetweil Clicked reconfigure, nothing shows up. Clicked desktop, just shows a list of desktops. Shows 4 desktops. I’ve been through them all, shows the same black screen.
-
@09succotash in the terminal window, if u run sudo raspi-config
and look at boot options…beyond that there are 1 few (hundred) posts about problems like this if u search google
-
@sdetweil Boot options, and then what?
-
@09succotash I might try to change desktop with login
-
@sdetweil Been there, done that, didn’t work. I’ve been searching Google for this issue, and came up short. Didn’t find much results, but I will try some more searching,
-
I had a similar problem when I used MMM-PIR-Sensor module. Everything had been working for about 6 months then I updated something and it stoped working. I re-installed everything several times and through a process of elimination and google searches it acmes down to this particular module.
I have now got it a working again by finding the latest update from a branched version of MMM-PIR-Sensor module.
I never did find the cause.
-
I had a simmilar Problem an had to use my old Backup after investigating hours. It seems that there are Problems between versions of node and electron. Do you have a white Window shortly and then the black desktop screen?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login