Page 1 of 1
Safe shutdown
Posted: Fri Jan 22, 2016 7:52 pm
by mmkw43
I am currently in a program on the PI and can't access terminal or see my button in my gui to safely exit the program. I treid evrythin in task manager, which does nothing.
For some reason I didn't get full resolution on my display so the full Gui isn't there.
I've learned the hard way not to power down and here I am stuck with the same damn problem. Is there maybe some fancy keyboard combination I can use or something? -- don't know why task manager isn't helping.
Re: Safe shutdown
Posted: Fri Jan 22, 2016 7:53 pm
by mmkw43
I suppose (possibly) I could take out the SD card (while the pi is on) and then power off?
Re: Safe shutdown
Posted: Fri Jan 22, 2016 7:58 pm
by mmkw43
I did that, removed the card -- tried to delete this post -- can't do it ??
Re: Safe shutdown
Posted: Fri Jan 22, 2016 9:13 pm
by Douglas6
I'm not sure that pulling the card from a running Pi is any smarter than powering down.
Re: Safe shutdown
Posted: Fri Jan 22, 2016 10:43 pm
by W. H. Heydt
If you can get to the system with a command prompt, you can stop a program by killing it's process ID. One way to find the PID is to use the command "ps -C <progname>", followed by "kill <PID>". if your program ignores interrupts and refuses to die, you can use "kill -9 <PID>" (aka "sure kill").
IF all you want to do is shut the system down without access to it (either GUI or ssh), wait until there is no activity for several seconds (to allow any wear leveling to complete), then pull the power. I definitely would not recommend removing a working SD card.
To get rid of a Forum post or thread, report your own post and request that a Moderator take the desired action.