Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] x11-misc/lightdm asks for two passwords
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
sirlark
Guru
Guru


Joined: 25 Oct 2004
Posts: 306
Location: Limerick, Ireland

PostPosted: Thu May 08, 2014 10:49 am    Post subject: [SOLVED] x11-misc/lightdm asks for two passwords Reply with quote

I've just changed over to razor-qt on an old laptop I have lying around, trying to get some extra life out of it. In the process, I switched from gdm to lightdm. But lightdm is asking me for two passwords. I'm using the gtk-greeter, because the qt and razor greeters don't work, but that's another story. As it stands, the greeter starts, I'm shown a prompt with my username, and a field for password entry. I enter my password, and a blue bar appears below the password entry saying "SSH password", and I must enter my password again. At this point, it takes about 1 minute to start razor-qt. I must enter the password correctly both times. If I flip over to a text-console (ctrl-alt-f1) and log in to the same user, it works like normal, one password entry, no delays...

All help appreciated as always!
_________________
Adopt an unanswered post today


Last edited by sirlark on Mon Jun 23, 2014 10:26 am; edited 1 time in total
Back to top
View user's profile Send private message
sirlark
Guru
Guru


Joined: 25 Oct 2004
Posts: 306
Location: Limerick, Ireland

PostPosted: Mon Jun 23, 2014 10:24 am    Post subject: Reply with quote

Right, I've solved the asking for two passwords thing. I had the "ssh" USE flag enabled for pam, and the pam_ssh module enabled in /etc/pam.d/system-auth

I added the try_first_pass option in the pam config file, as follows and I'm no longer asked for multiple passwords.

Code:
auth      sufficient   pam_ssh.so [b]try_first_pass[/b] nullok
auth      required   pam_unix.so try_first_pass likeauth nullok

_________________
Adopt an unanswered post today
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum