Ask Your Question

How do I unlock gnome-keyring with KDM automatically?

asked 2014-01-23 07:43:47 -0500

jorti gravatar image

I have installed gnome-keyring-pam, and the password of the keyring is the same as the login, but it doesn't unlock itself when I login in KDE with KDM.

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2014-01-23 10:51:55 -0500

tomspur gravatar image

updated 2014-01-28 02:33:35 -0500

It seems you also need to modify /etc/pam.d/kde, like the following (from [1]):

  1. Behind the line auth include system-login you need to add:

    auth optional

  2. Behind the line with session include system-login, you need to add:

    session optional auto_start


edit flag offensive delete link more


Please elaborate. Do not just add a link. This link (maybe in future) will be lost. Add a quote or a more complete answer would be better.

NickTux gravatar imageNickTux ( 2014-01-24 05:03:01 -0500 )edit

Done and will do so in the future! :)

tomspur gravatar imagetomspur ( 2014-01-28 02:34:30 -0500 )edit

answered 2014-02-20 08:11:39 -0500

jorti gravatar image

Finally I got it working. This is my setup in /etc/pam.d/kdm

auth     [success=done ignore=ignore default=bad]
auth       required
auth       substack    system-auth
auth       optional try_first_pass
auth       include     postlogin
account    required
account    include     system-auth
password   include     system-auth
session    required close
session    required
session    optional
-session    optional
session    required open
session    optional force revoke
session    required
session    optional auto_start
session    include     system-auth
session    include     postlogin
edit flag offensive delete link more

answered 2014-01-23 16:46:26 -0500

deusdara gravatar image


How to unlock gnome keyring automatically

Please pay attention for that:

for KDM

sudo vi /etc/pam.d/kdm

Add the following lines

auth optional try_first_pass session optional auto_start

The order in which these lines are inserted is important. So here is a working copy of the file:

edit flag offensive delete link more


vi ? hmm, A newbie will find it a bit difficult. Better to use a simpler editor (a graphical maybe), or nano (I know it is not installed by default).

NickTux gravatar imageNickTux ( 2014-01-24 05:04:24 -0500 )edit

Question Tools

1 follower


Asked: 2014-01-23 07:43:47 -0500

Seen: 3,697 times

Last updated: Feb 20 '14