Cannot login from old 12.10 user in raring

Bug #1114418 reported by Angel Guzman Maeso
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
lightdm (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I install 12.10 and upgrade to 13.04 today. I have a user called "shakaran" where I can login in 12.10. After the upgrade, I cannot login with my user shakaran in 13.04. When I enter the credentials it tries to load, but it shows a quickly black screen an return again to lightdm login.

Switching with Alt+F1, I try to search a explanation in logs, then I found in /var/log/lightdm/lightdm.log:

[+39.05s] DEBUG: Greeter start authentication for shakaran
[+39.05s] DEBUG: Started session 2495 with service 'lightdm', username 'shakaran'
[+39.06s] DEBUG: Session 2495 got 1 message(s) from PAM
[+39.06s] DEBUG: Prompt greeter with 1 message(s)
[+39.12s] DEBUG: Greeter start authentication for shakaran
[+39.12s] DEBUG: Session 2495: Sending SIGTERM
[+39.12s] DEBUG: Started session 2496 with service 'lightdm', username 'shakaran'
[+39.12s] DEBUG: Session 2495 terminated with signal 15
[+39.12s] DEBUG: Session 2495 failed during authentication
[+39.13s] DEBUG: Session 2496 got 1 message(s) from PAM
[+39.13s] DEBUG: Prompt greeter with 1 message(s)

So it is failing the authentication with signal 15. Then I try to make another user called "angel" with:

sudo adduser angel

I switch back with Alt+F7. Then I can login the user "angel" but still I cannot login with my old user "shakaran".

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: lightdm 1.4.0-0ubuntu3
ProcVersionSignature: Ubuntu 3.8.0-4.8-generic 3.8.0-rc6
Uname: Linux 3.8.0-4-generic i686
ApportVersion: 2.8-0ubuntu4
Architecture: i386
Date: Sun Feb 3 17:03:45 2013
InstallationDate: Installed on 2013-02-03 (0 days ago)
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
LightdmConfig:
 [SeatDefaults]
 user-session=ubuntu
 greeter-session=unity-greeter
MarkForUpload: True
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=es_ES.UTF-8
 SHELL=/bin/bash
SourcePackage: lightdm
UpgradeStatus: Upgraded to raring on 2013-02-03 (0 days ago)

Revision history for this message
Angel Guzman Maeso (shakaran) wrote :
Revision history for this message
Angel Guzman Maeso (shakaran) wrote :

In auth.log appears this info that could be relevant:

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

Revision history for this message
Angel Guzman Maeso (shakaran) wrote :

I did a temporal workaround.

sudo mv /home/shakaran /home/shakaran-backup
sudo mkdir shakaran
sudo chown shakaran.shakaran /home/shakaran
sudo chmod 701 /home/shakaran

Now I can login and I am copying some config folder in home for work again. But this needs to be fixed, almost for normal users without development knowledge.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in lightdm (Ubuntu):
status: New → Confirmed
Revision history for this message
Karljohan Lundin Palmerius (karljohan) wrote :

For me a temporary workaround is to switch to tty1 and log in. When I then switch back to tty7 (lightdm) I can successfully log in. I have done this several times so it seems to be consistent.

Revision history for this message
doclist (dclist) wrote :

Is anyone experiencing this problem with a non-standard window manager?

Revision history for this message
James Dennis Armstrong (james-armstrong) wrote :

Workaround:

I recommend installing Beyond Compare first. Then do your 12.10 to 13.04 upgrade.

If you experience this problem create a new account.

Make sure the new account is in the sudo group.

Log in as new user.

gksu bcompare

Open the old home directory and the new home directory in bcompare

bcompre will show you any and all .whatever files and directories that are different between the two.

Tell bcompare to copy any that are different from the new home directory to the old home directory.

This will include .conf and .Xauthority.

You should now be able to log in as the old user.

You may need to chown some of the copied files though I haven't done this part yet.

Revision history for this message
michael37 (misha37) wrote :

Me2, ran into this issue during 12.04->12.10->13.04 installation. Other than brute force workaround in comment 3, I can't find a solution so far.

dclist comment 6: tried it with Unity/compiz, Cinnamon and Openbox. No change.

Revision history for this message
hammadakbar (hammadakbar506) wrote :

did you mean chown shakaran:skakaran?

Revision history for this message
Angel Guzman Maeso (shakaran) wrote :

Yes hammadakbar506, it is typo. The right command was: sudo chown shakaran:shakaran /home/shakaran

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.