For questions regarding shutting down and powering off.

learn more… | top users | synonyms (1)

3
votes
1answer
3k views

Keyboard shortcut to shutdown?

I came across Why do we need to be root in terminal for shutdown and restart? and the accepted answer has an explanation indicating that clicking on "Shutdown" in Ubuntu's dropdown menu triggers this ...
3
votes
1answer
223 views

Gracefully close appications on shutdown

How to automatically close an application on shutdown (graceful close, not kill)? I try to call wmctrl -c "App" in powerbtn.sh, but it does not work. The same wmctrl command works perfectly when ...
3
votes
3answers
1k views

USB HDD power off after shutdown

I use Ubuntu 12.04 on my external USB HDD and from the begining when I power off my ubuntu my USB HDD also power off 5 seconds later than my computer. Its good for me. But after some updates Ubuntu ...
3
votes
1answer
409 views

What does my computer do when I click 'Shut Down'?

What does my computer do when I click ▸ Shut Down? I mean, is it running a script? What is it running?
3
votes
1answer
2k views

How do I make the power button shut the laptop down without asking?

The energy options screen, oddly, doesn't have an option for what to do when the power button is pressed! Translating the three options: "Suspend when inactive for:" (it's set to not suspend) "When ...
3
votes
1answer
49 views

Run a script on shutdown and not on reboot [duplicate]

I'm executing a script on Ubuntu 14.04.1 LTS when the server is stopping But I would like to execute it only on shutdown behavior, not whendoing a reboot. I tried to get the value with $1but for ...
3
votes
1answer
298 views

How can I run a shell script on session end? [duplicate]

In a previous question, I found out how to shut down all instances of running VMs started through vagrant. I'd like to call that script when logging out of my Desktop Manager which is currently ...
3
votes
2answers
3k views

Shutdown Hangs for 5 Minutes on Kubuntu 14.04

I've had persistent problems with a 5 minute hang at shutdown for the last three versions of Kubuntu (13.04, 13.10, and now 14.04). I suspect this is not a KDE-specific problem. Recently, I performed ...
3
votes
2answers
3k views

Ubuntu 14.04 64bit - computer shuts down by itself

After I installed Ubuntu 14.04 64-bit on my Lenovo ThinkPad T61 today, I could boot up Ubuntu without problem but after I run the Software Center, Additional Driver, or Firefox, the computer will shut ...
3
votes
1answer
946 views

Reboot instead of shutdown Ubuntu 12.04

As the title suggests, when I try to shutdown my computer from Ubuntu 12.04, it shuts down but then powers back on about three seconds later. I've changed my Grub settings and added: ...
3
votes
1answer
372 views

How can I make sure one Upstart job stops before another Upstart job stops?

Sometimes my server is shut down via an ACPI shutdown, and I've managed to get my process to gracefully shut down. However, my process (Job A) relies on another process (Job B) during its graceful ...
3
votes
1answer
1k views

Shutdown slow in 13.04, hangs on shutting down processes

I believe this problem has existed since I upgraded to 13.04. I have an SSD, so differences in boot/shutdown times are very noticeable. It used to take a couple of seconds to shut down - now, it takes ...
3
votes
2answers
412 views

How can I tell how long for Watchdog to wait to stop all processes?

I have a server which is monitored by Watchdog, and experiences reboots occasionally due to faulty network hardware I am unable to replace at the moment. As I read, Watchdog sends a SIGTERM to all ...
3
votes
1answer
795 views

Why is my Ubuntu box shutting itself off?

I just built a relatively cheap Ubuntu box for use as a home server. I had a monster headache getting my Win 8 machine to talk to it via samba, but this is beside the point. I've now been attempting ...
3
votes
1answer
6k views

How do I get back my suspend option in Gnome Shell?

With the new version of Gnome Shell in Ubuntu 12.10 they turned most peoples issue around by just displaying the shutdown option which becomes suspend on pressing Alt. How do I get back my beloved ...
3
votes
2answers
2k views

Laptop power button not working

I have a (seemingly rather exotic) Dell Latitude XT2 notebook running Lubuntu 12.04, fresh install. Tried to get the power button to work as expected (opening the logout dialog lubuntu-logout), but no ...
3
votes
1answer
4k views

How do I force a shutdown even when there are other open sessions?

Well, hello, this is my first time using ubuntu and I have seen that when I try to turn off the computer when other user sessiong is running it doesn't do nothing. Then I have to enter that user ...
3
votes
4answers
3k views

Cannot shutdown my Sony Vaio

I did a fresh install of Ubuntu 12.04 (dual boot with Windows 7) on my sony Vaio. After the fresh install everything was working fine. then I was informed that new driver were available for my ATI ...
3
votes
2answers
1k views

Ubuntu Precise 12.04 and 11.10 do not halt the computer completely, but 10.04 LTS does (Asus P5G41T-M)

I am using an Asus P5G41T-M motherboard with Core 2 Duo E5300. I have tried Ubuntu 12.04 beta 2, the latest daily build of 12.04 and 11.10 (the latest official), both of which act in the following ...
3
votes
5answers
1k views

How can I improve performance and user experience in 11.10 (boot + shutdown time, graphics, …)

I've been dual-booting with Ubuntu and Windows since Ubuntu 9.04. This was the first time I used Ubuntu and was really happy with it. The boot and shutdown time was very nice and much shorter than on ...
3
votes
2answers
337 views

How do I repair the shut-down/Log-off button?

I use the computer with 2 users. With one user all works fine. With the second user account, the shut down and log-off buttons do not work anymore while screen locking standby and hibernation still ...
3
votes
2answers
760 views

Unable to shutdown, only reboot

Ever since I upgraded to 11.04, I have been unable to shutdown my computer. I tried using : shutdown now, poweroff, and halt. But they don't work! The only one that does is reboot. Here is the ...
3
votes
3answers
2k views

Automatic shutdown / hibernation after x minutes in suspend?

I have an embedded battery powered device running Ubuntu and want to reduce power consumption. The idea is that if a user does not use a device for ca. 30 min. then the device will automatically ...
3
votes
1answer
81 views

Why does shutdown from a remote terminal fail to power off my machine? [duplicate]

I have noticed that if I shutdown Ubuntu 14.04 from a remote terminal via ssh and running sudo shutdown now, the machine does not power off. If I use the GUI (shut down using Unity on the machine ...
3
votes
1answer
3k views

How to disable shutdown/reboot from lightdm in 14.04?

In 12.04 it was possible to prevent system shutdown or reboot from the login screen by adding the following restrictions in /etc/polkit-1/localauthority/50-local.d (adapted from here): [Disable ...
3
votes
1answer
64 views

Stop process on power button press

I have an old ubuntu pc running a minecraft server, but I only want it on at certain times. I want to be able to turn it on and off using only the power button. I am able to turn it on, but to turn ...
3
votes
1answer
163 views

Things to check after a hard reboot

My power got cut off while I had my battery off on my PC so it hard shut down. My question is is there anything I can do to check if the system got damaged or was doing something at the time which ...
3
votes
2answers
3k views

Lubuntu - power button doesn't turn off computer,

I am using Lubuntu 13.04 and would like to have the power button cause the computer to shut down. Currently it only brings up the power preferences menu (logout, reboot, hibernate, etc...). In ...
3
votes
2answers
381 views

Creating a “deadman” switch using Ubuntu to shutdown EC2 instance

I've put together a simple "deadman switch" using upstart to automatically shutdown my EC2 instances after a period of time. I'm doing this to avoid the dreaded Monday morning blues when you realized ...
3
votes
3answers
315 views

System does not shut down. What can I do?

I am using Ubuntu OS for one year. Currently I am using Ubuntu 12.04LTS. When I click the shutdown button I am directed back to the login screen instead. It has become difficult to shut down. What ...
3
votes
2answers
371 views

Is there a fix for the won't-restart won't-reboot won't-logout bug in 11.10 [closed]

Since I upgraded to 11.10, neither the "shutdown" (for shutdown or restart) nor the "logout" options in the upper-right-corner menu work. They simply do nothing. While waiting for Ubuntu to release a ...
3
votes
1answer
2k views

computer won't shutdown because of power management [closed]

I am using Ubuntu 11.10 and when I run "sudo shutdown 0", the computer doesn't shutdown. It gets stuck on "Disabling Power Management". Any idea of what's happening? Thanks in advance. Also, this ...
3
votes
1answer
2k views

Dell Laptop won't shutdown / restart by itself

I recently upgraded to ubuntu 11.10 64-bit on my Dell Studio 1569. Before this I ran ubuntu 11.04 64-bit. Every time I shutdown, or restart it goes through the usual processes, and shows no error ( ...
3
votes
1answer
71 views

When I use the cog and go to shutdown all I lose is the menu

I would like to know the procedure of the GUI shutdown from the cog. This is because I have one 11.10 that will shutdown from the cog and shutdown button but, I have another that if I use the cog and ...
3
votes
3answers
2k views

Computer shuts down when unplugged

I have an MSI Wind U100 netbook (they call it a notebook). Every time I unplug the AC adapter the machine shuts down as if the battery is dead. I get a notification that says "battery is critical and ...
3
votes
2answers
2k views

can't shut down or restart while others are logged in [duplicate]

Possible Duplicate: How can I make shutdown not require admin password? When I'm logged in on my own account and try to do Restart or Shutdown from the "Power" menu, while others are also ...
3
votes
2answers
2k views

Kubuntu hangs on shutdown

Moved out of Unity and installed Kubuntu and so got back familiar desktop, etc but on shut down it starts and then hangs. I had this problem with Unity, as well. No problem with earlier version and ...
3
votes
2answers
289 views

Crash on shutdown when using second monitor

I have recently added a second monitor to my setup. Instead of one VGA monitor, I now have one VGA and one DVI monitor hooked up to the computer. The displays work just fine. However, ever since this ...
3
votes
0answers
24 views

Why does my computer try to shut down when I plug in headphones?

Using Ubuntu 14.04LTS. Noticed that when I plug in headphones, a menu appears asking if I want to "lock, suspend, restart, or shut down." Is this normal? How do I fix this if it isn't normal?
3
votes
1answer
1k views

KDE power management system could not be initialized

First of all, apologies but I am very new to using kubuntu, so I would need a very basic step by step answer to solve this problem. Since my last update I am getting this error message: KDE power ...
3
votes
1answer
183 views

Run sh script on shut down to reduce volume

After having set up almost everything I wanted on my new laptop, there is still this one little thing that I cannot get to work and that's really annoying me: I would like to run a script at shut down ...
3
votes
1answer
608 views

Lubuntu 14.04 shutdown - Firefox not exiting properly at logout/shutdown

Having a little past experience with Linux I recently decided to install Lubuntu 14.04 LTS to try and get away from windows and got most everything working except one thing so far... I have set ...
3
votes
0answers
94 views

Can't shutdown in 13.10

I have just installed Ubuntu 13.10 but my laptop can't shutdown. When I try to shutdown it will just keep loading endlessly. After pressing a non-letter key on the keyboard I'm transferred to a ...
3
votes
2answers
122 views

13.10—shutdown impossible

I have a freshly installed Ubuntu on a new Desktop. I am using the following drivers from the image below. I was searching half of the internet, found a lot of fixes for the »cannot shutdown« Bug ...
3
votes
1answer
2k views

13.10 Shutdown/Restart issue

I have a clean install of 13.10 using the 3.12 kernel. When I shutdown or restart the process hangs. I press a key and I see: **Killing all remaining processes ....... [fail]** (fail is in red) ...
3
votes
0answers
59 views

How do I stop a job before its dependencies?

I have a job that does some things and uses other locally installed services (such as the mail server). Sometimes I do an ACPI shutdown but I need this service to complete the ongoing operation ...
3
votes
0answers
358 views

Ubuntu won't shutdown

A bit of background first. I use my ubuntu computer as a media center and backup server, running Ubuntu 12.04. It's scheduled to shutdown at 1am everyday. My problem is that the computer does not ...
3
votes
1answer
198 views

USB port not working, while shutdown and network manager are misbehaving

I use an Acer Aspire One with Xubuntu (12.04). Last night I installed a few updates, only the security ones because it was late. It finished OK with a message about needing to restart for the changes ...
3
votes
0answers
342 views

Shutdown slow: unknown job s35networking [closed]

Since I've upgraded to Ubuntu 13.04 from 12.04 LTS, I get this error when I shutdown the pc: rather than invoking init scripts through /etc/init.d, use the service(8) utility service S35 ...
3
votes
3answers
3k views

Ubuntu 13.04 wont shut down?

My 32 bit OEM 1 gb ram wont shut down after I select 'shut down' from the drop box on the right top corner. Also, when I press the power button on the notebook nothing happens. Help? The machine shuts ...