Anyone have suggestions for this:
I upgraded my Ubuntu system to 14.04, and the upgrade failed miserably. I was forced to restart the system in order to get to a login. After following several suggestions on restarting an upgrade, I appear to have a system that is basically working, but I cannot log into the GUI, am forced to CTL+ALT+F1 (or F2–F6) to get a command line login.
Th GUI reaction is to take the first attempt at entering a password, then responds with "Logging in…" directly below the user name that is logging in. That's it, it just sits there. If an attempt to use the mouse changes the name, the message goes away, but the GUI no longer accepts any more passwords.
The clue I have (and am hoping that is not a red-herring) is that the following appears in the /var/log/auth.log
(I've removed timestamp, system name and user id):
lightdm: PAM unable to dlopen(pam_kwallet.so): /lib/security/pam_kwallet.so: cannot open shared object file: No such file or directory
lightdm: PAM adding faulty module: pam_kwallet.so
lightdm: pam_succeed_if(lightdm:auth): requirement "user ingroup nopasswdlogin" not met by user "userid"
I've tried several update commands, restarts, reboots, and clean-ups. Any suggestions?
Best Answer
Looks like pam_kwallet.so is missing. PAM is the authentication module used by lightdm and it wants to load kwallet (I guess that's a KDE keyring) but the library is gone.
If you have access (somehow), try to install the package containing the pam_kwalet.so, or try to configure PAM so that it would not look for this file.
Automatically: try running pam-auth-update and disable KDE wallet (kwallet).
Manually: PAM configuration is in /etc/pam.conf and /etc/pam.d/* -- so grep those for kwallet, (re)move configuration referring to kwallet and retry.
Once you are finished with upgrade then you may want to return the pam-kwallet config, just make sure you have pam_kwallet.so installed.
Looks like Ubuntu bug: https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1309535