Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

I upgraded to oneiric Beta2 for some reasons I prevously explained. Now I cannot use LightDm. GDM works fine but cannot use Lightdm. When booting past Grub the message is checking battery state...[ok] and it checks forever. Is there a work around?

I tried the command sudo dpkg-reconfigure lightdm which gave the result :

dpkg-maintscript-helper: warning: environment variable DPKG_MAINTSCRIPT_NAME missing
 dpkg-maintscript-helper: warning: environment variable DPKG_MAINTSCRIPT_PACKAGE missing
share|improve this question

closed as too localized by fossfreedom, Jorge Castro, Marco Ceppi Oct 8 '11 at 15:00

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Its a known bug - – fossfreedom Oct 8 '11 at 8:58
This was not the problem. After reading the log in /var/logs/lightdm I found the problem is .Xauthority was in /var/lib/lightdm/ was owned by root. Deleting it and rebooting the machine did it! Happy with Lightdm! – Stefano Mtangoo Oct 14 '11 at 14:08
While typing "checking battery state ubuntu 11.10" in google, it autocompletes this issue, yet somehow this was marked as too localized. PS- Happened to me 10 minutes ago. lets see if @Stefano solution can help. – Alon Amir Apr 2 '12 at 21:38
so what happened with this too localized post of mine? @_@ – Stefano Mtangoo Apr 4 '12 at 9:01

Browse other questions tagged or ask your own question.