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.

I first install Ubuntu 13.10 a few weeks ago and its been going great. I'm still pretty new to Linux, so I haven't been doing a whole lot. The past couple days I've tried installing LAMP, then uninstalled it because I would probably never do anything with it. I then installed SSH, then uninstalled it because I probably would never login to it remotely. Then I install samba so my wife could access the files on my computer from hers and use my PC as a backup.

All is fine and well... until I reboot. I am unable to login. I type my password into the password field, and hit enter and nothing happens. If I type the wrong password in, the little wheel spins for 1/2 second then says 'incorrect password'. With the incorrect password, no wheel shows up - the password field fades away and the screen just sits there. I've waited about 10-15 minutes for something to happen, but nothing does.

I've tried to Google around to solve the issue, but nothing I've seen seems to do the trick. I am able to login through the command line (ctrl-alt-f1) just fine, just am not able to login in through the GUI.

Ive looked at my auth.log and found this:

lightdm: pam_succeed_if (lightdm:auth): requirement "user ingroup nopasswdlogin" not met by user "andrew"

I remember seeing something about pam when I was installing/configuring ssh and/or configuring keys for it, but I don't remember specifically what. Plus, I removed ssh shortly after I installed it - so could it still be causing an issue?

I've tried the following:

sudo dpkg-reconfigure lightdm

which says nothing and returns me back to the command prompt

I have tried removing ~/.Xauthority - which didn't help.

My .dmrc file is about four lines. The first two are blank, then [Desktop], then something=Ubuntu

I have tried:

pam-auth-update

everything is checked, doesn't help

and I've tried:

ppa-purge ppa:gnome3-team/gnome3

which doesn't help either.

I've tried renaming my home directory and creating a new one. No luck.

I'm at a loss of what else I can do. Any ideas?

share|improve this question
    
When you say "nothing happens" do you mean you stay at the log-in screen? or the screen changes but nothing loads? –  virtualxtc Dec 13 '13 at 22:01

2 Answers 2

I have had the same issue a couple of times, appeared to be something corrupted in my user profile. Removing the following files and directory located in your userdir always gives me back my login:

.cache/
.Xauthority 
.ICEauthority

You can do so by opening a terminalscreen (ctrl-alt-F1) logging in and do:

rm -rf .cache
rm .Xauthority
rm .ICEautority

No go back with alt-F7, login and (hopefully) be happy again

share|improve this answer
    
This worked for me! –  user603125 Aug 15 at 23:04
    
please change .ICEAutority to .ICEauthority . Can't make a 2 letter edit. –  user603125 Aug 15 at 23:05
    
Typo, thanks, done. –  Requist yesterday
up vote 2 down vote accepted

I was able to fix the issue with help from this thread:

Specifically, with the following commands:

sudo apt-get update
sudo apt-get install ubuntu-desktop
sudo apt-get -f install
sudo dpkg-reconfigure ubuntu-desktop
sudo reboot
share|improve this answer

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.