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.

But just LightDM. It worked this morning, just does not seem to be working this evening. This seems to occurred after a shutdown after a wakeup from hibernation. I always get a password denied sort of thing:

enter image description here

I can login into Gnome by running this in the tty (which I can access):

sudo service lightdm stop
sudo service gdm start

and KDE as well (when installed), and using sudo service kdm start instead of the latter command.

Xfce also works.

To resolve this I have tried:

  • Removed ~/.Xauthority - to no effect
  • Rebooting
  • Changed password 5/6 times - may eventually get very annoyed and purge /etc/passwd and restore from backups
  • Reinstalled Unity and LightDM - no effect
  • Purged and Reinstalled ALL Desktops and Desktop Managers
  • reconfigured LigthDM with dpkg-reconfigure - useless as it was done by the above and only sets the default desktop manager.
  • Created a different user, that does not work - the same for the 'Guest Session'
  • purged all recent installs

Here is `/etc/lightdm/lightdm.conf:

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

And here is /var/log/lightdm/x-0-greeter.log. This is from the recent login, where I tried to login with the user test, and then my default login, wmobbs.

If anything more relevant to user/lightdm settings is available, ask and I'll post it.

Nothing appears to be a problem in .xsession-errors. Yes, there are previous questions like this and this, but those did not help in anyway.

All to no effect :-(

Using Ubuntu 13.10, Intel i5 Lenovo G570 (integrated graphics, with Radeon HD 6370M discrete graphics - but I don't think this is the problem) laptop.

I can still use the machine, I only really use it for work and stuff. I hope to solve this myself, but this will be useful if anyone can think of any ideas.

share|improve this question
1  
Look in the logs: /var/log/lightdm/lightdm.log and /var/log/lightdm/x-0-greeter.log. You also didn't try (or you didn't write you did) reinstalling/reconfiguring the unity-greeter. –  falconer Jan 27 at 17:38
    
@falconer - unity-greeter went as a dependency, I removed all of LightDM as well as Unity, Gnome, KDE, even if it was not installed, I tried to apt-get purge it. I have checked the log, and added it. –  Wilf Jan 27 at 17:45
    
@falconer - added log, added picture :-( –  Wilf Jan 27 at 18:09
    
Found part of the problem - lightdm cannot be stopped, therefore cannot be 'purged'... –  Wilf Jan 27 at 19:52
    
Then just SIGKILL it. killall -SIGKILL lightdm . The greeter log doesn't show much about the problem for me. Try looking in the /var/log/auth.log. –  falconer Jan 27 at 19:57
show 1 more comment

2 Answers 2

Have you ever tried to delete everything in /etc/lightdm/lightdm.conf ?

To do this open a terminal with Ctrl+Alt+t and type the following command :

sudo nano /etc/lightdm/lightdm.conf

then delete everything in it, save it and reboot by typing :

sudo reboot

It solved my problem many times ago.

Have a nice day.

share|improve this answer
    
Purging and reinstalling should of solved that, I checked, and it removed the relevant config files. –  Wilf Jan 27 at 17:43
add comment
up vote 1 down vote accepted

Seems sorted now... I think.

I rebooted and pruged one or two more things.

I managed to stop lightdm from running on boot as explained here, stopped all lightdm user processes with pkill -U lightdm. I could then purge lighdm and other slightly relevant stuff with various incantations of:

sudo apt-get purge ...

I also made sure that the lightdm user was removed, which seem to be why I could not fully remove it.

I just spotted when it removed the extra pieces of the kernel (the kernel it was using - how did it do that?), including the bits with internet + graphics drivers. I then resolved that, and rebooted.

It now seems to work... I hope.

share|improve this answer
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.