For questions regarding shutting down and powering off.

learn more… | top users | synonyms (1)

3
votes
6answers
12k views

Ubuntu 14.04 stuck on shutdown

My problem is that when I try to shutdown computer, it sticks at the shutdown screen and these are the only lines I can see: wait-for-state stop/waiting Stoping GNUstep distributed object mapper: ...
3
votes
2answers
2k views

Change power button to 'Ask' in Xubuntu 13.10

I have recently installed Xubuntu 13.10 on my Vaio vpcea making me a Linux beginner. The problem is that laptop's power button is right on the edge of the bezel making it far too easy to press ...
3
votes
1answer
465 views
3
votes
1answer
821 views

Remove “restart” option from menu

When I click the gear icon to open the system menu on my PC, these options are presented: Suspend Restart... Shutdown... The restart options seems redundant, because it literally does the same ...
3
votes
1answer
753 views

Confirm shutdown with Zenity?

I got this command which enables me to shutdown Ubuntu 13.10 directly from the keyboard (without needing to open a terminal and running something like sudo shutdown -h now): dbus-send --system ...
3
votes
2answers
2k views

overheating and shutdown problems when adobe flash runs?

I'm a new user of UBUNTU and using a Dell latitude D630. When I browse to site that have some flash animation (mostly advertisements), the temperature of cores increase dramatically (I check with ...
3
votes
3answers
3k views

Dell D630 with Ubuntu 12.04: fail to shut down

I have a Dell D630 laptop with an updated Ubuntu 12.04. It's not a clean installation, but an upgrade coming from 11.10. After clicking on "shut down", the screen goes black but it keeps with the ...
3
votes
3answers
504 views

Does powering off the PC without shutting down harm the system?

I accidentally killed Compiz in my Unity session and couldn't restart it. So I powered the PC off with the hardware button. I am wondering if that could cause damage to my system? I didn't have any ...
3
votes
2answers
45 views

Gracefully shut down QEMU/KVM on host shutdown

I start a QEMU/KVM Ubuntu 15.10 virtual machine on boot and let it run in the background (as webserver). What happens now if I shut down the host (also 15.10)? Will it kill the VM and result in a ...
3
votes
1answer
50 views

How to shut down the computer safely by pressing the power button?

So this is pretty simple: when I press the power button whilst the machine is on, it comes up with a menu (of which one of the options is to shutdown) However, I just want it to just start shutting ...
3
votes
1answer
83 views

Can not connect to internet and turn off computer after interrupting system update

Last Friday, I was using software updater to update some of my software, but halfway through, I realized I wouldn't have time to complete all of the updates. I unfortunately had to stop the updates ...
3
votes
3answers
81 views

What graphical utility can I use for Ubuntu auto shutdown?

In Microsoft Windows I use switch off software for auto shutdown, Hibernate, restart etc. Can I find something similar in Ubuntu? I read following link. How can I automatically shutdown the system ...
3
votes
3answers
5k views

Why does Ubuntu freeze during reboot (14.04 LTS)?

I'm new to this whole Linux thing, and although I have been able to figure out how to set up Ubuntu thus far, there is one issue that bugs me. Whenever I attempt to restart the computer, it freezes ...
3
votes
2answers
400 views

Causes of and how to minimize damage from forced shut downs?

Backstory: Since running 12.04 LTS, my computer has experienced two sudden losses of power; one due to my ham-fisted attempt to reboot and one due to a battery-less power cable disconnection. Both ...
3
votes
2answers
4k 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 ...
3
votes
2answers
4k 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. ...
3
votes
2answers
4k views

Ubuntu 12.04 sometimes doesn't halt completely

I am using an Dell Latitude D830 with Ubuntu 12.04. Now, when I turn off the pc, Ubuntu doesn't halt completely sometimes. I think that is due to the latest Nvidia drivers, because in the past with ...
3
votes
1answer
1k views

What commands show pending/scheduled tasks in Terminal?

What commands can I use in Terminal to see pending or scheduled tasks for today or tomorrow. For example how can I detect pending system shutdown?
3
votes
1answer
4k 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
265 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
2k 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
415 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
5answers
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 ...
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
2answers
25 views

How to check how long the last uptime if it's not shutdown correctly?

I need to check battery life of some batteries while powering my machine (a BeagleBone). My plan is to plug it in, leave it, and check some time later. If it's dead, then I need to know how long it's ...
3
votes
1answer
205 views

Ubuntu logo flickering on shut down - Ubuntu 15.04 XPS 13

I have a laptop with a QHD+ screen (XPS 13 2015 9343) with Ubuntu 15.04 and kernel 4.1.3. When I shut down the Ubuntu logo go to the top of the screen, the left of the screen then back to center. I ...
3
votes
1answer
261 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
2answers
2k views

After switching to Ubuntu 15.04 laptop won't shutdown

I have a problem with with my laptop, Toshiba Qosmio F60. Curently i am running dual boot with Win7, and Ubuntu 15.04. I used different distros and this is the first time i have this kind of problem. ...
3
votes
1answer
441 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
4k 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
1answer
1k 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
2k 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
521 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
903 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
7k 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
2answers
4k views

Disabling Control-Alt-Delete shutdown is not working

I'm running Ubuntu 10.04 in a Virtual Machine on a Windows 7 computer. If I press Ctrl-Alt-Delete when the Ubuntu VM is in focus, the Ubuntu system sees it and shuts down after 60 seconds. This does ...
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
348 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
766 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
141 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
4k 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
71 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
196 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
4k 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
418 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
317 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 ...