Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Well, I installed MDM, and found it's buggy with my VGA hardware due to the following screen after rebooting:

enter image description here This screen repeats, even if I choose Yes or No

As I have access to the console (by pressing ALT+F2) I tried, sudo dpkg-reconfigure lightdm which gave me the following screen,

enter image description here

Even if I choose LightDM nothing happens at the next reboot. The first screen comes back!

dpkg -l | grep -i mdm command results me following,

ii mdm___________1.0.4-0~webupd8~precise_____Gnome Display Mnager

ii mint-mdm-themes__1.0.5-0~webupd8~precise1_____Linux Mint MDM Themes

(underscores are spaces)

Please help... I need LightDM login screen back!

Thanks!

share|improve this question
    
Please share the content or output of the following commands/files to better help us troubleshoot your problem (instructions in this answer): command(s): dpkg -l | grep -i mdm –  izx Sep 9 '12 at 4:17
    
I add it. Please see above... –  Naveen Sep 9 '12 at 4:44
add comment

1 Answer

up vote 1 down vote accepted

What the message is telling you is that lightdm is already running in the background. So, login to the console-session/terminal by pressing Alt+F2, or choose Exit to console login from the window below.

enter image description here

Now, remove MDM, using the commands below:

sudo apt-get purge mdm      
sudo dpkg -r mdm mint-mdm-themes

Set LightDM as default from this command:

sudo dpkg-reconfigure lightdm

Then reboot. MDM should be gone by now.

LightDM may start, but it's most likely to be in low graphics mode.

enter image description here

To fix this, you have to edit /etc/lightdm/lightdm.conf as following:

[SeatDefaults]
user-session=ubuntu
greeter-session=unity-greeter

As you are unable to edit lightdm.conf through console-session, I may suggest using the Ubuntu Live CD.

(Using the live cd, enter gksu nautilus on terminal, then locate and open /media/yourUBUNTUpartition/etc/lightdm/lightdm.conf from Gedit... then you can do the editing!)

Considering that you haven't installed unity-greeter, download the package for Precise from here, and place it on /media/yourUBUNTUpartition/home/YourName.

That's it! Get out from the live CD and get back on the Console Session. (Alt + F2).

Now install the Unity-Greeter file you downloaded before:

sudo dpkg -i **unity-greeter_0.2.8-0ubuntu1_i386.deb** 

Finally start LightDM,

sudo service start lightdm
share|improve this answer
    
Um.... I already removed MDM, (but using sudo apt-get remove mdm) That's why it's not present on the 2nd screenshot..but I never removed mdm themes. Do you want me to remove gdm? –  Naveen Sep 9 '12 at 4:55
    
Yes remove gdm AND run sudo apt-get purge gdm mdm\* –  izx Sep 9 '12 at 4:57
    
Does the purge command need internet? Well, it will take some time for me to gain internet access...(Now I'm on a Windows machine) I reply you as soon as I do it. Thanks! –  Naveen Sep 9 '12 at 5:02
    
No, no internet access is needed for purging. –  izx Sep 9 '12 at 5:03
    
Great! Finally LightDM is back! Well, I ran into some other trouble while doing it.So I added that stuff too to your answer, if you don't mind. Thanks! –  Naveen Sep 9 '12 at 9:02
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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