Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I recently upgraded from Ubuntu 11.10 to 12.04. If it makes any difference, my system is a Dell Inspiron 1520.

I encounter a problem whenever I shutdown or restart; it kills all running processes (as far as I can tell), but once I get past the shutdown text screen and the screen goes black, my computer doesn't power off. The fans still run and the screen is still on, etc. I have to hold down the power button in order to complety shut down.

Does anyone know how to resolve this problem?

share|improve this question
Ok, just to make sure, you are shutting down by clicking the right corner button and pressing shutdown right? –  eltommo Apr 27 '12 at 4:38
yes. That is right –  Justin H Apr 27 '12 at 4:39
ok, while you are looking for a solution to this problem, you should be able to work around it by typing sudo poweroff at a terminal prompt, or if you are unfamiliar with the terminal press "alt-f2" and type "gksudo poweroff" and that may bring your computer to a complete power off. –  eltommo Apr 27 '12 at 4:42
It looks like there is a bug for that: . If you are affected, click on "yes, it affects me too" at the top of the page. This will be counted. You can log on to Launchpad with your UbuntuOne ID. –  Andre May 19 '12 at 17:28

5 Answers 5

I have the same problem and found a solution which worked out for me.

Type in terminal:

  1. sudo -i (to get a root shell, sudo gedit is not recommended)
  2. gedit /etc/default/grub
  3. Find the line: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  4. Change this to: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=force"
  5. Save the file and close the file.
  6. Finally, in terminal: update-grub
  7. exit (to end the root shell)

I found it here: Dell Studio 1569 Cannot Shutdown in Ubuntu 11.10 or 12.04

share|improve this answer
This does not appear to work either. –  skeggse Aug 1 '12 at 18:57
this seemed to work for me, on my Dell XPS M1330 with an Nvidia 8400M –  foh1981 Aug 11 '12 at 23:41
Works for me. Dell XPS M1530 Nvidia 8600 –  Garfield Oct 2 '12 at 1:59
The solution above worked for a while but then the problem re-occurred. So I removed acpi=force from GRUB_CMDLINE_LINUX_DEFAULT and added it to GRUB_CMDLINE_LINUX instead, using the steps above (i.e. GRUB_CMDLINE_LINUX="acpi=force"). Then I shut down the computer, using the power button to power off after it stopped shutting down at the black screen with a series of messages that ended with "[end trance ...]" as it did before (I had GRUB_CMDLINE_LINUX_DEFAULT="" to show messages instead of the splash screen). After re-booting, shutdown worked correctly (I tested it several times). –  Cee Oct 28 '12 at 2:44
The problem re-occured after another update with Update Manager. As before, the screensaver also froze (even with just blank screen & 2d screensavers) when trying to return to using the computer after a while. And again there was also freezing at the screensaver instead of automatic shutdown of the computer by Power Management. Shutdown works properly again after following the steps above (moving acpi=force to GRUB_CMDLINE_LINUX_DEFAULT this time) shutting down and manually powering off. So you may have to repeat these steps each time the problem reoccurs, seemingly after system updates. –  Cee Nov 11 '12 at 0:40

It is a bug. Ref -

share|improve this answer
or this one... –  Andre May 19 '12 at 17:30
Both issues were closed as invalid. Where is the real bug report? –  Gili Oct 10 '12 at 16:30

I have the same problem on exactly the same model (Inspiron 1520). The culprit seems to be the proprietary NVIDIA graphics driver. If you uninstall it and fallback to Nouveau it will work as usual.

To run Nouveau instead of the NVIDIA driver you just remove/inactivate [both] NVIDIA drivers in "additional drivers" (not running English system so I can't be sure of the name). Ubuntu will then use Nouveau automatically.

Depending on your usage though, Nouveau might not be "good enough". But in my case I don't need the performance of the NVIDIA driver (no gaming here!).

share|improve this answer

The key may be in this sentence, "it kills all running processes". In my case, it did NOT! The problem was caused by the redis-server process which, for some reason, couldn't be stopped normally. Once I killed all redis-serverprocesses, sudo killall redis-server, I was able to do shut down normally. Since I don't need redis that often, I stopped it from running at startup with these commands:

sudo update-rc.d -f redis-server remove

sudo update-rc.d -f redis_6379 remove

I will wait for an update that fixes this problem, but for now I will remember to stop the redis process before shutting down. It may not be redis in your case, but it's likely a buggy process that Ubuntu couldn't kill.

This may help you inspect the problem:

  • service --status-all: lists all services registered with the system. Services that start with OS boot will have a [+] symbol before them.

  • Read the log messages that appear on the screen when you press the power button to manually power off. In my case, I read something about trying to close the redis server. The messages may also appear if you press some random keys.

  • Review the programs you installed recently, maybe one of them is causing the problem.

  • Try closing all unnecessary processes and see if you can shut down normally. If you can, repeat the process, narrowing down the candidates, till you reach the buggy app.

share|improve this answer

To investigate what's going on behind the splash screen, press Esc. You will see what is stopping it from shutting down. Then you can troubleshoot for that problem. For many cases reported, it was redis-server.

share|improve this answer

protected by Community May 1 '12 at 19:39

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.