Ask Your Question
2

How do I unlock gnome-keyring with KDM automatically?

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

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
3

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

tomspur gravatar image

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

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 pam_gnome_keyring.so

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

    session optional pam_gnome_keyring.so auto_start

[1] https://wiki.archlinux.org/index.php/KDM#KDM_and_Gnome-keyring

edit flag offensive delete link more

Comments

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 -0600 )edit
1

Done and will do so in the future! :)

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

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

jorti gravatar image

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

#%PAM-1.0
auth     [success=done ignore=ignore default=bad] pam_selinux_permit.so
auth       required    pam_env.so
auth       substack    system-auth
auth       optional    pam_gnome_keyring.so try_first_pass
auth       include     postlogin
account    required    pam_nologin.so
account    include     system-auth
password   include     system-auth
session    required    pam_selinux.so close
session    required    pam_loginuid.so
session    optional    pam_console.so
-session    optional    pam_ck_connector.so
session    required    pam_selinux.so open
session    optional    pam_keyinit.so force revoke
session    required    pam_namespace.so
session    optional    pam_gnome_keyring.so auto_start
session    include     system-auth
session    include     postlogin
edit flag offensive delete link more
0

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

deusdara gravatar image

Hi

How to unlock gnome keyring automatically

http://harpreet.in/blog/2009/11/30/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 pam_gnome_keyring.so try_first_pass session optional pam_gnome_keyring.so 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

Comments

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 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 3,394 times

Last updated: Feb 20 '14