*** This bug is a duplicate of bug 706354 *** https://bugs.launchpad.net/bugs/706354
Yann, There's a simple fix, which avoids running any dpkg-* commands: sudo su echo "/usr/sbin/lightdm" > /etc/X11/default-display-manager exit That should do it. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to lightdm in Ubuntu. https://bugs.launchpad.net/bugs/854337 Title: "dpkg-reconfigure lightdm" fails Status in “lightdm” package in Ubuntu: Confirmed Bug description: GDM was used instead of lightdm, so I uninstalled it (sudo aptitude remove gdm), it told me to uninstall also gdm-guest-session. And it told me to run "dpkg-reconfigure lightdm". But it fails, so I have to manually launch "sudo lightdm" from TTY1 to log in. $ sudo dpkg-reconfigure lightdm dpkg-maintscript-helper: warning: environment variable DPKG_MAINTSCRIPT_NAME missing dpkg-maintscript-helper: warning: environment variable DPKG_MAINTSCRIPT_PACKAGE missing $ ProblemType: Bug DistroRelease: Ubuntu 11.10 Package: lightdm 0.9.7-0ubuntu1 ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4 Uname: Linux 3.0.0-11-generic i686 NonfreeKernelModules: nvidia ApportVersion: 1.23-0ubuntu1 Architecture: i386 Date: Tue Sep 20 02:39:48 2011 InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330) SourcePackage: lightdm UpgradeStatus: Upgraded to oneiric on 2011-09-03 (16 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/854337/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp