Read the statement by Michael Teeuw here.
Black screen instead of desktop after installing PIR sensor
- 
 @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? 
