Select Page

Not too long ago I decided to switch back to KDE as my desktop environment. My reasons were aesthetic and technical. I do think that Canonical’s Ubuntu plans are great. I like a lot of what they’re doing. But it’s all a mish-mash of technologies and ideas. I know that in some ways that’s what Linux is… anyway I digress.

I switched to kdm as the display manager, but that immediately caused a problem for me since the gnome-keyring-daemon powers Ubuntu One integration, which I love. I also need it for MySQL Workbench. So I set about figuring out how I could get gnome-keyring to authenticate without me having to unlock it with a second password prompt when I log in.

I found quite a bit of help online, but not all of it was helpful. In the end I had installed the

sudo apt-get install libpam-gnome-keyring

Then I added the file /etc/pam.d/common-pamkeyring with this content

auth optional pam_gnome_keyring.so try_first_pass
session optional pam_gnome_keyring.so auto_start

and added a line to the end of /etc/pam.d/kdm

@include common-pamkeyring

Many thanks to others that share online- especially this post, which helped me get over the last hurdle- a simple text change.