Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I try to boot Ubuntu 11.04, it just hangs when it gets to checking battery state. I know this issue is usually related to graphic drivers, but it worked like a charm for months now. Last time I was on Ubuntu I updated my system with the update manager, so maybe an update caused it.

Anyway, I really need Ubuntu. I'm in the middle of work on a website and I have a deadline, so I need some help over here.



I tried reinstalling gnome-power-manager. Didn't work. And I'm not on a laptop.

share|improve this question

migrated from Jun 28 '11 at 12:27

This question came from our site for professional and enthusiast programmers.

gdm breaks with a recent update

mv /etc/gdm/custom.conf /etc/gdm/custom.Conf_bak
share|improve this answer
This answer is pretty confusing. Can you edit it to explain how that command would solve the problem and how this is related to the question? – nhinkle Jun 30 '11 at 18:27
sudo apt-get remove --purge <all drivers of your videocard>
sudo apt-get remove --purge libgl1-mesa-dri


sudo apt-get install xserver-xorg
sudo dpkg-reconfigure xserver-xorg

Finally either:


or just reboot the machine.

share|improve this answer

I just fixed my system with the same problem (June 30, 2011). When the computer hangs at 'Checking Battery State'

  • use crtl+alt+F1 to open a command shell

  • login

  • enter the 'startx' command and hit Enter

  • gnome loads

  • fixed display drivers (purged proprietary and loaded ubuntu drivers)

    (you will have to search the internet to find instructions for your adapter) (My card is ATI)

Hope it works for you.

share|improve this answer

You must log in to answer this question.