0

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?

9
  • Do you use a button in GUI for that or perhaps something like sudo shutdown now in the terminal? Aug 12, 2013 at 8:07
  • 1
    Try using init 0. what is the result for it.
    – Tarun
    Aug 12, 2013 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, 2013 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). Aug 12, 2013 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. Aug 12, 2013 at 11:01

2 Answers 2

1

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.
1
  • This is marked as answer, which part answered your question? Jan 9, 2015 at 16:56
0

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .