Read the statement by Michael Teeuw here.
Black Screen after Booting Up
-
Hi,
I recently made a mirror over the summer and I just moved into my college house. When I plugged my mirror back in it displayed the Raspberry Pi boot up like always and then went straight to the MagicMirror boot up, but after that the screen just goes black. It never brought up my desktop or anything. I have a Raspberry Pi 3 and the application was fully working before. I don’t know how to fix it because my keyboard and mouse aren’t responding when I plug them in.If someone could help me out that would be amazing!
Thanks
-
@nickymac12 said in Black Screen after Booting Up:
If someone could help me out
After the bootup sequence and the screen goes black, have you tried your
Altkey? If MM is running, and displaying a blank screen, you might get lucky. TheAltkey should drop a menu down from the top. If it does, you won’t see your mouse until you move it all the way up into the menu bar, then you can quit the mirror from the leftmost menu.Good luck
-
@nickymac12 are you able to connect remotely? over SSH? if so you might be able to check MM’s logs to see if anything went wrong
-
@Mykle1 I tried the alt key but nothing happened. The Windows key won’t pull down the menu either.
-
@j.e.f.f I usually use VNC Connect to connect to it remotely, but since I moved into a new house it isn’t connected to the new wifi so it won’t work.
-
So the mirror has no internet connection?
-
@nickymac12 maybe try connecting a LAN cable. it should work with DHCP by default
-
@j.e.f.f I was able to connect but it still shows a black screen and I still cannot control it.
-
@nickymac12 is SSH enabled? if so try to connect that way. That will allow you to check MM’s logs
-
I am able to connect via SSH now. How do I check the MM’s logs?
-
@nickymac12 type
pm2 logs mm -
@nickymac12 Also, at this point, you can start disabling modules one by one until MM starts. That should help you figure out the culprit.
-
@j.e.f.f all it responded with was
“Spawning PM2 daemon with pm2_home=/home/pi/.pm2” -
@nickymac12 ok. Try installing the sample config file.
Type:cd ~/MagicMirror/configmv config.js config.js.bak(this will back up your existing config)cp config.js.sample config.jspm2 restart mmIf magic mirror starts, then you either have a problem with your config or with a module.
-
So, unfortunately, I only had an 8gb sd card so I used that in my Pi and it is full so it will not write config.js.sample because there is not enough room…
-
@nickymac12 Aha! I’d say that might be your problem. See if you can free up some space, then restore your config file, and restart MM
-
Oh! How can I clear up space remotely?
-
@nickymac12 you can delete files with the
rmcommand. Be careful with this, because it can’t be undone.Say you wanted to delete some pictures you have in a folder in you home directory. Navigate to that directory like so:
cd ~/photo-directory-name(whatever the folder name might be)rm file-name.jpg(this will permanently delete the file)You can remove entire directories with the
-rswitch. Example:rm -r directory-nameAnd be sure to double-check your typing before you hit enter. deleting things this way is not recoverable.
-
Is there a way to see what directories or files I have so I know what I can delete?
-
@nickymac12 yes.
Use the
lscommand to see a list of files in the current directoryuse the
cdcommand to enter a directory e.g.:cd directory-nameuse the the command
cd ..to go back up to the parent directorythe
pwdcommand will tell show the path to the current directorycd ~will take you your home directory
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