After typing in my password in lightdm, I get a blank screen and then I'm returned to lightdm. I'm unable to find any obvious problems in /var/log/lightdm or /var/log/Xorg.0.log (though I'm happy to post them if they would be helpful).
Current workaround (but imperfect): I can start X from a console but when I do this, I run into another problem which is that sound is unusable (despite attempts to restart pulseaudio and mpd). I suspect that the original lightdm is locking the soundcard in some way so if I can fix the lightdm login issue, it will fix the sound problem.
One other datapoint: From lightdm, I can log in as a different user (one that's basically in default state) and everything works fine -- Xfce starts up and sound works for them.
Does anyone have an idea of how to debug the lightdm problem?
Update:
Tried some of the actions from Ubuntu gets stuck in a login loop -- my .Xauthority, .ICEauthority, and /tmp permissions don't seem to be the problem:
% ls -la ~/.Xauthority
-rw------- 1 dmcc dmcc 99 Apr 15 21:58 /home/dmcc/.Xauthority
% ls -la ~/.ICEauthority
-rw------- 1 dmcc dmcc 10584 Apr 15 22:00 /home/dmcc/.ICEauthority
% ls -ld /tmp/
drwxrwxrwt 6 root root 20480 Apr 15 22:48 /tmp/
I also tried dpkg-reconfigure lightdm (no change).
Update 2:
- Tried reinstalling
lightdmwithapt-get purge lightdmandapt-get install lightdm(problem remains). - Also tried deleting
.Xauthority. - I've
straced the rootlightdmprocess (once for my user logging in, once for the dummy user logging in) but it doesn't reveal much file system access to paths in the users home directories.