I had the same problem which can be easily reproduced this way:
I am logged in on PC A with user “olaf”. Using ssh I log in at PC B with user 
“chief” and start x:
olaf@A: ssh chief@B
olaf@A: sudo startx
X-Session really starts up on B which I can see.
Then I press ctrl+c
… connection to x server lost

Now I move over to PC B and want to login with user “chief”.
I can't get passed the login screen.
In /var/log/lightdm/lightdm.log I found the following:

[+10.72s] DEBUG: Session pid=1556: Greeter connected version=1.16.7 
resettable=false
[+10.91s] DEBUG: Session pid=1556: Greeter start authentication for chief
[+10.91s] DEBUG: Session pid=1609: Started with service 'lightdm', username 
'chief'
[+10.92s] DEBUG: Session pid=1609: Got 1 message(s) from PAM
[+10.92s] DEBUG: Session pid=1556: Prompt greeter with 1 message(s)
[+23.13s] DEBUG: Session pid=1556: Greeter start authentication for olaf
[+23.13s] DEBUG: Session pid=1609: Sending SIGTERM
[+23.13s] DEBUG: Session pid=1777: Started with service 'lightdm', username 
'olaf'
[+23.13s] DEBUG: Session pid=1609: Terminated with signal 15
[+23.13s] DEBUG: Session: Failed during authentication
[+23.13s] DEBUG: Seat seat0: Session stopped

It seems that lightdm wants to login with user “olaf” and the password I just 
entered (Greeter start authentication for olaf).
Of course this will fail on PC B.

Deleting the file Xauthority in the home of user chief on PC B will allow me to 
login again as chief:
chief@B: mv ~/.Xauthority

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1312526

Title:
  Greeter uses previous session even if it is not available

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lightdm-gtk-greeter/+bug/1312526/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to