Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't shut down my laptop
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
BlueNoteMKVI
n00b
n00b


Joined: 07 Jul 2004
Posts: 65

PostPosted: Wed Oct 13, 2004 1:49 am    Post subject: Can't shut down my laptop Reply with quote

I'm running KDE in my new Gentoo setup and having a heck of a time figuring out how to shut the computer down. I can use the "reboot" command, that works fine. When all I need is to reboot the computer that's fine, but I don't want to carry my laptop around with the hard drive spinning. I carry this computer with me to school three days a week and to work two other days of the week so this is rather important.

If I run a terminal from within KDE I can use SU to gain root access, then reboot the machine. If I use "shutdown now" from that same terminal the terminal window disappears but KDE stays up. If I log out of KDE and drop back down to the command line, I can reboot the computer. If I use "shutdown now" it shuts down root's session and drops me back to the user level command line. Pressing the power button does no good whatsoever when booted into Linux.

My solution so far has been to reboot the computer to the grub screen then use the power button (which works fine from grub, or from Windows for that matter). This is not very efficient and a bit annoying.

Any suggestions?
Back to top
View user's profile Send private message
oliver
Apprentice
Apprentice


Joined: 25 Jun 2003
Posts: 170

PostPosted: Wed Oct 13, 2004 1:59 am    Post subject: Reply with quote

/sbin/poweroff works for me.
Back to top
View user's profile Send private message
didl
Retired Dev
Retired Dev


Joined: 09 Sep 2003
Posts: 1106
Location: Pittsburgh, PA

PostPosted: Wed Oct 13, 2004 3:06 am    Post subject: Reply with quote

Code:

/sbin/shutdown -h now
Back to top
View user's profile Send private message
catkfr
Guru
Guru


Joined: 02 Aug 2004
Posts: 300

PostPosted: Wed Oct 13, 2004 10:05 am    Post subject: Reply with quote

I don't know if it works under kde but under the console, pressing the power button on my laptop does the same as shutdown -h now.
Back to top
View user's profile Send private message
msa
n00b
n00b


Joined: 01 Oct 2004
Posts: 59
Location: Odense, Denmark

PostPosted: Sun Oct 17, 2004 11:53 am    Post subject: shutdown -h now Reply with quote

In a terminal just write

shutdown -h now

That should work :-)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum