For questions regarding shutting down and powering off.

learn more… | top users | synonyms (1)

31
votes
10answers
22k views

How can I make shutdown not require admin password?

If more than one person is logged in on my computer, Ubuntu requires super user authentication when shutting down the computer. How can I make it so that any user can shutdown the computer without ...
10
votes
1answer
8k views

Lost power during upgrade, how do I recover?

I was attempting to update my 11.10 install to 12.04beta. During the install step, I accidentally lost power to my laptop (the power cable came unplugged) and it shut down. Whenever I go to boot now, ...
2
votes
2answers
3k views

Why does my screen blank out for the duration of the Grub boot menu?

Upon booting, when I should see the GRUB menu, my monitor simply says: "No optimum mode. Recommended mode: 1600*1200". If I wait for a short while, Ubuntu starts to boot and it reaches the desktop. ...
20
votes
6answers
36k views

Stuck on reboot and shutdown

I've recently installed Ubuntu 12.04 and I love it. However I have one problem- I am unable to shutdown or reboot properly. When I shutdown my laptop (Acer Aspire 5560) it hangs on the 5 dots and ...
9
votes
3answers
7k views

Why can't I restart/shutdown?

When I shutdown/restart get a black (shell-like) full-screen with some large text saying stuff like: ubuntu 10.10 [129.171175] Restarting system. eco nds ... [OK] ... Unmounting weak filesystems ... ...
6
votes
3answers
12k views

How to disable shutdown/reboot/suspend/hibernate?

I have an Ubuntu 10.04 LTS Desktop PC with GNOME. How can I fully disable the reboot/shutdown/suspend/hibernate functions in GNOME or even with root? So that the root gives out the "reboot" or ...
38
votes
4answers
6k views

Why do we need to be root in terminal for shutdown and restart?

When we install/remove/update packages or make any changes which require administrative privileges we are prompted for the password of admin user who has the sudo privileges - this happens both via ...
31
votes
16answers
89k views

Shut down computer from keyboard

Is there a keyboard shortcut available to shutdown the computer? I know I can use the Power button, but I would like to be able to it from the keyboard. If such a shortcut does not exist already, ...
13
votes
2answers
984 views

One click shutdown Ubuntu and load into alternative bootup

I have a dual boot system with Ubuntu 11.04 and Windows 7. My GRUB bootloader defaults to Ubuntu. I mainly use Ubuntu, but I occasionally need to bootup Windows to do a few things. If I need to do ...
16
votes
3answers
18k views

Shutdown from terminal without entering password?

I have desktop edition of Ubuntu. I like the Terminal so that that I prefer to shutdown my computer with the shutdown command. However when I type shutdown now it prompts me to enter my password.Is ...
9
votes
1answer
13k views

Not been able to Shut Down 13.04

After installing Ubuntu 13.04 (not upgrading to it, I did a "clean install" removing the older one), I'm not been able to shutdown the system. After clicking the Shut Down button the desktop ...
8
votes
2answers
6k views

Execute a script upon logout/reboot/shutdown in Ubuntu

I'd like to run a .sh file using bash on logout and shutdown of Ubuntu. I have searched up and down the web and have found only fixes for KDE and GNOME. The script is simple, I just need to know if I ...
19
votes
2answers
13k views

Where is the shutdown log?

I am trying to debug a hang during shutdown and I don't find where the messages that I see during shutdown are being stored. They aren't in /var/log/syslog
4
votes
3answers
8k views

Dell Studio 1569 Cannot Shutdown in Ubuntu 11.10 or 12.04

I have not tried a version of Ubuntu prior to 11.10 on my machine. The laptop will not shut down or restart. Shutting down causes it to pause at "Will now Halt", where upon it sits until the battery ...
120
votes
4answers
289k views

How do I restart /shutdown from a terminal?

How to shutdown the Ubuntu installed system and restart it by using terminal ?
5
votes
8answers
14k views

Why do I get a reboot instead of a shutdown?

After two days of installation, strangely my Ubuntu machine is restarting instead of shutdown from both desktop GUI and command line. sudo shutdown -h now sudo halt (doesn't shutdown, instead freezes ...
12
votes
3answers
2k views

How resilient is Ubuntu to repeated “power-off” shutdowns?

My company is considering the use of Ubuntu as an OS for use on a hardware device. It would be installed on compact flash drive - apparently this is not standard flash drive but a specific type of ...
4
votes
2answers
3k views

What is the shutdown command?

I want to create a shutdown icon for the launcher in 13.04. In former versions of Ubuntu I used this desktop file and put it in the launcher: ...
12
votes
4answers
5k views

I can't shut down nor reboot without console

After update from 11.04 to 11.10 an wired conduct appears in my machine: Shutdown GUI methods (including reboot) cause only a log off, and in the login screen, shutdown nor reboot options do anything ...
8
votes
4answers
7k views

How can I automatically shutdown the system after a specific time?

How can I automatically shutdown the system after a certain customizable time?
4
votes
2answers
3k views

How to enable shutdown sound on ubuntu 12.04

I need a sound to play when I shutdown. In Kubuntu, there's shutdown sound. But Ubuntu, not anymore
11
votes
3answers
3k views

Difference between menu shutdown and 'shutdown -h now'

What is the difference between the shutdown menu item and shutdown -h now? The former sometimes hangs up my laptop on Ubuntu 11.10.
2
votes
4answers
6k views

Ubuntu 11.10 logs off when clicking shutdown

As the title says: when I click Shutdown from the menu it logs off. When I click shutdown from the log-in menu it does nothing. I'm using a fresh install of Ubuntu 11.10. I can force it to shutdown by ...
21
votes
3answers
19k views

Difference between “halt” and “shutdown now”?

Ubuntu one remote uses sudo -S -p '' halt for shutdown and does not work to the end. leaveing monitor on with message will now halt [22225.11163] halted What is the difference between sudo ...
2
votes
3answers
1k views

Execute command before shutdown/reboot

I have a machine running a couple of vagrant VM. The problem I have is that sometimes I forget to shutdown those VM before I shutdown or reboot my machine. Because of that my machine get stuck with ...
5
votes
2answers
2k views

How to see what's going on during shutdown

Since a few weeks, Ubuntu freezes almost everytime when I shut it down. I know it because the shutdown animation stops and nothing is responsive: Ctrl+Alt+Del or AltGr+Syst+reisub don't make any ...
8
votes
3answers
5k views

How to find out which “Unknown” program is still running and preventing shutdown?

I get the window below occasionally on shutdown. Is there any way to find out what the "Unknown" program is? Perhaps find the path of the executable?
10
votes
3answers
1k views

How to troubleshoot slow shutdown?

When I shutdown my computer there is some annoying delay, it takes about 5-10 seconds in 13.10 when in the previous version it was almost instantaneous. During shutdown I press escape to cancel the ...
32
votes
9answers
3k views

How do I shut down without the confirmation prompt?

Are you sure you want to close all programs and shut down the computer? When I click shut down I want to shut down! :) This message bugs me. How to avoid this message?
17
votes
5answers
10k views

Execute script before shutting down

When I shut down my computer I want to show some pending tasks that I have to do before leaving the office... I did a local application to manage those tasks, basically I just want to run a command, ...
7
votes
2answers
10k views

How do I configure upstart to run a script on shutdown when the process takes longer than 10secs?

I am running ubuntu 11.10 in a virtual machine (VirtualBox) to learn more about development in linux. I am using a git repository to save my work and have written a script to bundle my work up and ...
2
votes
3answers
2k views

Can a Windows 8 partition be mounted in Ubuntu if “fast startup”is switched on?

I'm aware that when a Windows session is hibernated, its disk partition cannot be mounted in Ubuntu. By default in Windows 8, a hybrid shutdown/hibernate feature is used (fast startup) which ...
10
votes
1answer
9k views

How do I find the last logged system boot and shutdown times?

I'm a Rails developer working on a web application on Ubuntu Server 10.04. Due to internal requirements, I was asked to find the last 10 system boot and shutdown times... I have no clue where to find ...
5
votes
4answers
8k views

Problem with speech dispatcher

I had some problems with shutdown/restarting Ubuntu 13.04. It used to hang in a black screen with some codes about speech dispatcher. I searched the web and found a solution: sudo nano ...
5
votes
2answers
1k views

How to stop turning off sequence when power manager says that battery is too low and want to power down?

According to this thread I can disable this thing altogether but this battery-critical-power-down not always happens. Is there a way or terminal command that can stop the power manager shutting down ...
23
votes
3answers
2k views

Does Hard reboot damage my Ubuntu

Some times my laptop gets stuck due to excessive usage of RAM when I open bulky applications. So if it does not respond I shut down the laptop using the power button. Does this damage Ubuntu in any ...
6
votes
3answers
4k views

Best way to make a shutdown hook?

Since Ubuntu relies on upstart for some time now, I would like to use an upstart job to gracefully shutdown certain applications on system shutdown or reboot. It is essential that the system's ...
5
votes
1answer
545 views

What command is executed when shutdown from the graphical menu in 14.04?

I understand that clicking "shut down" from the menu that comes up on clicking the cogwheel triggers the following command to be executed: dbus-send --system --print-reply --dest=org.freedesktop.Hal ...
1
vote
1answer
898 views

Shutdown or Restart only logs me out

My workstation at work is running 11.10 (lightdm). Shutting down or restarting has always worked up till last week. My workstation is generally left on through the week and shutdown at weekends. ...
4
votes
2answers
679 views

Shutdown taking a lot of time

Whenever I shutdown in my Ubuntu 11.10 box, the icons are changing to the default GNOME icons and it is taking a lot of time to shutdown. What can I do to fix this?
3
votes
2answers
2k views

How can I shutdown my PC when the system is idle?

I am using Ubutnu 12.04 LTS. Now I am here to know that, is there any script/application I can use to shutdown my Ubuntu when my system is IDLE for 10 Minutes or so? I have already gone through this ...
1
vote
2answers
3k views

Transmission shutdown script for multiple torrents?

I have written a shutdown script for transmission. Transmission calls the script after a torrent download finishes. The script runs perfectly on my machine (Ubuntu 11.04 & 12.04). #!/bin/bash ...
18
votes
3answers
5k views

Remotely turning on computer?

I need a simple way to turn on my dell optiplex remotely, and shut it off. Its running ubuntu 13.04. How would i go about that? would i need a separate device to press the power button, or would it ...
11
votes
3answers
8k views

How can I safely shutdown/reboot/logout KDE from the command line?

I am not talking about shutdown and reboot commands. I want to initiate the same routine from command line that would be performed if I would press the logout/reboot/shutdown button inside the KDE ...
9
votes
7answers
3k views

Shutdown stuck at Ubuntu logo

I've installed my Ubuntu11.10 yesterday. I updated it and now when i go to shutdown it stucks at Ubuntu logo (the one with the white small balls). I waited 20 mins and nothing, i always have to ...
6
votes
9answers
9k views

How to shut down the computer after a task has been completed?

I usually start a download before I go to school. Which command should I use to automatically make the necessary saves and turn off the computer after a particular task has been completed? (Say, ...
10
votes
5answers
10k views

Can't shutdown and logout from top panel in Ubuntu 14.04 LTS

I recently installed Ubuntu 14.04. Shutdown and logout from the top panel are not working. They worked fine when installing the OS, but a few days back I installed fglrx drivers for my ATI graphics ...
5
votes
1answer
8k views

how to shutdown a linux machine, including the root password, in 1 line?

How do you include the root password, say for shutting down an ubuntu machine? like, sudo shutdown now is it possible to include the password on this 1 line? like an extra parameter? reason for ...
5
votes
3answers
2k views

Shutdown / restart does not complete [closed]

Sometimes when I try to shut-down or restart, I get an error saying: A program is still running: Unknown Not Responding It gives three choices Lock Screen Cancel Reboot anyway (or Shutdown Anyway) ...
12
votes
6answers
12k views

“Shutdown” or “Restart” logs out

While logged in as a sudo user, click the right top power icon, then select and click "Shutdown" menu, it comes up with a dialog asking if I want to close all programs. The dialog has two options: ...