For questions regarding shutting down and powering off.

learn more… | top users | synonyms (1)

112
votes
4answers
260k views

How do I restart /shutdown from a terminal?

How to shutdown the Ubuntu installed system and restart it by using terminal ?
38
votes
4answers
5k 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 ...
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?
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 ...
30
votes
16answers
87k 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, ...
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 ...
21
votes
4answers
31k views

What is the proper terminal-way to shutdown?

I was trying to shutdown my PC through SSH. I executed sudo shutdown now The user was logged-out and Ubuntu starting turning off, but it froze at the last screen with the Ubuntu logo and the loading ...
20
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 ...
19
votes
6answers
35k 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 ...
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
18
votes
2answers
1k views

Will it create any critical problems if one always uses ''shutdown -h now"?

According to this post menu shutdown asks each application to save their work prior to shutting down. Will something more serious happen if one always uses sudo shutdown -h now to turn off the ...
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 ...
17
votes
1answer
943 views

What is the most “Ubuntu” way of preventing certain users from shutting down, suspending etc?

On a traditional Unix system, non-root users cannot do this. What is it that gives users this ability in modern desktop environments and how would I go about disabling this on a per-user or per-group ...
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, ...
15
votes
3answers
17k 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 ...
14
votes
6answers
18k views

Are there any Keyboard Shortcuts to Shutdown?

Are there any Keyboard Shortcuts to Shutdown? (e.g. in Windows Alt+F4+Alt+F4 Right Arrow Enter)
14
votes
5answers
32k views

How to safely shutdown Guest OS in VirtualBox using command line

I have Ubuntu 10.10 and using VirtualBox 3.2. As a Guest OS I have another Ubuntu in the VirtualBox. I am starting Guest Ubuntu automatically using following command once my Host Ubuntu boots: ...
14
votes
2answers
12k views

Where is the Gnome-Shell Shutdown options

My girlfriend is using Gnome-Shell (That traitor!! ^^) and she wants to know where is the options for Shutdown like in Unity (Another point for me and Unity hehe). How can I add/find this option to ...
13
votes
2answers
972 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 ...
13
votes
4answers
1k views

Why does nothing happen when I click “Shutdown” from the “shutdown…” dialog?

I've been through all questions with the 'Shutdown' tag on this site - but this is different. I choose "Shutdown..." from the session menu. I then click "Shutdown" on the dialog that appears. ...
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 ...
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 ...
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: ...
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 ...
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.
11
votes
3answers
815 views

Any way to clean up the look of the shutdown/logout/restart process?

So, I've given up trying to configure my system (ubuntu 10.10, open source ATI drivers) to shutdown/logout/restart gracefully. Whenever I do any of the three, all I get is an ugly ubuntu logo with ...
11
votes
3answers
524 views

Ubuntu suspends when the lid is closed after pressing shutdown

I am running 12.10. Usually when I am in a hurry I press the shutdown button on the bar and close the lid of my laptop just after that. Often, I observe that instead of shutting down, the system ...
11
votes
1answer
1k views

disable shutdown/suspend if there is other user logged in via ssh

I remember that in versions of ubuntu around 9.04 was possible to disable user to shutdown ( and maybe suspend too ) system if there was other user logged in.Something like policykit or similar. Is ...
11
votes
3answers
1k views

Shutdown logs out instead of shutting down

Many times (not all the time) when I want to shutdown or restart, the computer does not shutdown but goes to the screen for changing the user. I am the only user of my computer. So I had to ...
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 ...
10
votes
1answer
2k views

Tool to shutdown system when there is no network traffic

I am looking for a script or a tool which I can turn on, when needed, which shuts down my computer if there is e.g. no network traffic for say 10 minutes, or below 100kb for example. Would be really ...
10
votes
2answers
8k views

How do I check if last shutdown was clean?

How can tell that my last shutdown was properly done in Ubuntu 11.10 or if the machine was powered off before shutting down the OS?
10
votes
1answer
7k views

How do I use “virsh shutdown” on KVM domains to shut down Ubuntu guests?

I am using various KVM domains on a Ubuntu server. Both the host and guests run 10.04.1, 2.6.32-24 kernel, virsh reports version 0.7.5, KVM 0.12.3. The guests boot automatically when the host boots ...
10
votes
1answer
1k views

How to automatically install updates before shutdown?

Windows 7 automatically installs updates before shutdown. Can I get the same effect on Xubuntu? I want to install Xubuntu on a friend's machine and make sure that security updates are installed, but ...
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 ...
10
votes
13answers
2k views

Ubuntu 13.04 will not shutdown

I have just upgraded my computer from ubuntu 12.10 to ubuntu 13.04, and now when I go to turn off my computer, it will not shut down fully. The Power supply keeps running, even when it is "off" Any ...
10
votes
6answers
1k views

“Shut down” takes me to greeter now?

UPDATE - Removing my USB wifi dongle seems to cure the problem. So does disabling networking (but not disabling wifi alone). Now what? UPDATE 2 - The 'uptime' command says there are 2 users logged in. ...
10
votes
4answers
8k views

Why does Ubuntu 11.10 start and shut down so slowly?

Ubuntu's always been very fast on my computer. I have 3GB RAM, and previous versions booted in under 40s and shut down in under 5s. Most recently, Natty took 40s to boot and only 4s to shut down. ...
9
votes
4answers
5k views

Netbook performs hard shutdown without warning on low battery power

My Asus EEE netbook performs a hard shutdown when it reaches low battery power, without giving any warning - i.e. the power just goes off, without any shutdown process. I can't find anything in the ...
9
votes
3answers
4k views

What is the command to open the shutdown dialog?

I would like to use a gesture to shutdown/restart my computer and I need to know the command that launches the shutdown dialog:
9
votes
3answers
6k 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 ... ...
9
votes
2answers
4k views

How do I make Ubuntu “power loss proof”?

I like to run a system unattended for every day 'kiosk' use. However, the system may be powered off anytime without someone doing a proper shutdown before. By default, Ubuntu is not expected to be ...
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 ...
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 ...
9
votes
1answer
6k views

`shutdown -r now` command completely shutting down instead of restarting

Hi we've just installed Ubuntu 12.04 LTS onto a new server. It's on a SuperMicro X9SCA-f Motherboard . Now we're aiming to locate this in a remote server room - however when we execute a shutdown -r ...
8
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, ...
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?
8
votes
1answer
14k views

What is the difference between shutdown and poweroff commands?

I've a home server I'm playing around with :) I want to learn server administration... I have hard time understanding difference between shutdown -h now and poweroff -h now My logic tells me it's the ...
8
votes
3answers
853 views

Prevent PC from shutting down on Power button

I am building a PC and a BeagleBords ARM embedded for public use. They run Ubuntu 13.04 and manually assembled Linux respectively. Is there a way to prevent them from being shut down on pressing ...
8
votes
2answers
9k views

Slow shutdown due to modemmanager and .. nm-dispatcher.action?

My ubuntu is slow to shutdown, and the culprits seem to be modemmanager and something called nm-dispatcher.action. On shutdown I get a message on the terminal saying something like "asking all ...