tumblebomb
Posts: 50
Joined: Sun Nov 27, 2011 4:56 pm

How to shutdown the rpi

Fri Jun 01, 2012 7:51 pm

Hi I just setup my Pi tonight (debian install). Created my self a different user account as in the guide and used visudo to give it sudo control, did some python coding. All going well. I come to finish my session and considered just pullling out power cable but thought I should do it properly.

I tried the power symbol at bottom and selected shutdown - it flashes up a window asking for admin passwd but went away too quickly to do anything. I logged out of LXDE and tried shutdown and halt from there which didn't work. It said 'must be supervisor'. I used sudo su and halt -l from there which worked fine.

Anything I'm doing wrong or is something mis-configured?

tumblebomb
Posts: 50
Joined: Sun Nov 27, 2011 4:56 pm

Re: How to shutdown the rpi

Sat Jun 02, 2012 10:41 am

well I found the issue is the same as the other debian issue of programs not accepting password on the wiki. fixed now.

bredman
Posts: 1415
Joined: Tue Jan 17, 2012 2:38 pm

Re: How to shutdown the rpi

Sat Jun 02, 2012 11:17 am

To help others with the same problem, the fix is here
http://elinux.org/R-Pi_Troubleshooting# ... y_password

User avatar
soslug
Posts: 41
Joined: Mon May 21, 2012 12:31 pm
Location: Southend on Sea
Contact: Website Yahoo Messenger

Re: How to shutdown the rpi

Sat Jun 02, 2012 11:22 am

Should be possible to

a) sudo halt

add your own password when asked

b) sudo shutdown -h now

Shutting down with the -r means reboot instead of -h
IPFreely, to weed the network demons that dwell in them their Windows!

redcatster
Posts: 4
Joined: Tue Feb 28, 2012 8:23 am

Re: How to shutdown the rpi

Sat Jun 02, 2012 11:49 am

i just type
sudo poweroff

BlaineThePilot
Posts: 2
Joined: Wed Mar 21, 2012 10:46 pm

Re: How to shutdown the rpi

Sat Jun 02, 2012 5:20 pm

or you could try

sudo shutdown -h -t sec now

Return to “Beginners”