You are not logged in.

#1 2011-03-13 16:26:06

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

[Solved] Unlock Kwallet at login

Hello all,

I just performed a clean install of Arch w/ KDE. (installed kdebase)
I have only one minor issue, and that is the KWallet. Every time I log in, it asks to be unlocked.
Is there a way I can automatically unlock it when I log in? I have searched the boards and the Wiki, no hits.

Thanks in advance!

Last edited by Unia (2011-03-14 19:52:28)


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#2 2011-03-14 17:04:20

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: [Solved] Unlock Kwallet at login

No-one? Or am I asking for something impossible here?


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#3 2011-03-14 18:39:06

sskeirik
Member
Registered: 2011-03-13
Posts: 20

Re: [Solved] Unlock Kwallet at login

I've never used KDE, but according to this bug report: http://bugs.kde.org/show_bug.cgi?id=92845, that feature is still in development.

Note also: one of the KDE devs hacked up something to do this: see comment #65 on the bug report.

Offline

#4 2011-03-14 19:47:54

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: [Solved] Unlock Kwallet at login

Thanks, hadn't looked there yet. Will check it out and report back!


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#5 2011-03-14 19:52:04

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: [Solved] Unlock Kwallet at login

For faster reference for other people, here is comment #65:

Unfortunately it won't ship with the next version of KDE. The main problem is
that accessing KWallet at the same time you can access the password is quite
hard. It requires a PAM module that can access the user's D-Bus session bus
which is usually started after login only.

Now, the good thing is I worked around this by implementing a PAM module to
launch the bus as well as the module that gets the password and sends it to
KWallet and it's already working (well, at least for me). Unfortunately D-Bus
developers seem to disagree that what I did was such a good idea. So until
things have cleared a bit I won't do a real release of the modules. If you're
able to you can however get the modules from here:
- http://code.confuego.org/index.php/p/pamdbuslaunch
- http://websvn.kde.org/trunk/playground/base/pam_kwallet

This seems to be rather new and untested though, so I guess I'll wait till it's implemented in an official KDE release.

Thanks for your help sskeirik!


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

Board footer

Powered by FluxBB