LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-08-2009, 02:50 PM   #1
michael.guerrero
LQ Newbie
 
Registered: Oct 2006
Distribution: linux
Posts: 23

Rep: Reputation: 1
Unlock keyring at login for NetworkManager and wireless in KDE


Posting this result because I've had this problem since I started running wireless on my desktop. I use Fedora 10, KDE4.2.

When I login to my computer, NetworkManager tries to initiate a connection to my wireless router, but wants to use the gnome keyring. Because I am using KDE, the keyring isn't unlocked when I login. That means I have to type in my password a second time to give NM access to the data in my keyring.

I searched google looking for a solution, and installed pam_keyring, but because I use KDE, none of them worked for me, until I found this one:

http://johnny.chadda.se/2007/02/21/u...ng-upon-login/

For KDE, instead of modifying /etc/pam.d/gdm, modify /etc/pam.d/kdm.

My kdm file has the following:

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
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 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



The only change I made to my kdm file was adding the "try_first_pass". Everything else already existed in my kdm file. Now, when I login, NM automatically connects to my router.

Last edited by michael.guerrero; 05-08-2009 at 02:54 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to remove "Enter password for default keyring tu unlock" Revanvar Linux - Newbie 4 11-20-2015 11:49 AM
LXer: Auto-Unlock Keyring Manager In Ubuntu Intrepid LXer Syndicated Linux News 1 05-03-2009 03:01 PM
How to get KDE 4.2 to unlock sessions Choucete Slackware 17 03-29-2009 11:53 AM
Keeping Keyring unlocked in Fedora 8 for NetworkManager cdhgee Linux - Software 0 02-17-2008 10:19 PM
keyring not allowing wireless network psychobyte Ubuntu 0 09-22-2006 08:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration