Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a laptop with lubuntu 13.04

When given the shut down command, it exits the graphical interface, shows the lubuntu logo and then the screen goes black, but the computer never actually goes off until I press and hold the power button.

Is it possible to fix?

share|improve this question
    
Do you use a button in GUI for that or perhaps something like sudo shutdown now in the terminal? –  moon.musick Aug 12 '13 at 8:07
1  
Try using init 0. what is the result for it. –  Tarun Aug 12 '13 at 8:17
1  
init is an initialisation script, init 0 can also be used to shutdown systems or shutdown command can also be used. Here's a link cyberciti.biz/faq/shutdown-ubuntu-linux-computer Try the different types of commands listed and notice if there is anykind of unusual behavior still by your system. –  Tarun Aug 12 '13 at 10:25
1  
How about shutdown -h or shutdown -P (for halt or poweroff, respectively)? shutdown by itself doesn't work on any of my machines running Ubuntu or Mint, while when run with -h didn't work only for some older Supermicro server boards with long-outdated BIOS (a BIOS update helped). –  moon.musick Aug 12 '13 at 10:45
1  
@user11177 Most often it does work. Anyways, I can't help you with the GUI - I have no machine running Lubuntu, but it is likely it calls shutdown instead of shutdown -h - the behavior is consistent with the commands. As a workaround, you may try to bind the power button to a specified action - help.ubuntu.com/community/Lubuntu/… If you are happy enough with the terminal option, you may accept Tarun's answer, or I may post mine. –  moon.musick Aug 12 '13 at 11:01
show 4 more comments

2 Answers

up vote 0 down vote accepted

Try shutdown -h or shutdown -P, for halt or poweroff. It should turn off the machine completely. Apparently the -P option is safer (meaning it is more likely to cause the poweroff in different Linux distros), as it is more explicit and much less dependent on the implementation.

From the man page of shutdown:

-h     Requests that the system be either halted or powered off after it has been brought down, with the choice as to which left up to the system.
-P     Requests that the system be powered off after it has been brought down.
share|improve this answer
add comment

Here's one more useful link as it says using only shutdown doesn't turns off the system you need to add extra parameters to it as well.

Shutdown

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.