You are not logged in.

#1 2015-08-27 16:39:19

mkopec
Member
Registered: 2015-08-27
Posts: 3

[SOLVED] kwallet-pam does not unlock KDE Wallet

After updating to KDE Plasma 5.4 kwallet does not get unlocked automatically on login. I don't know if it's a bug or my configuration is wrong.

Last edited by mkopec (2015-08-29 13:23:38)

Offline

#2 2015-08-27 17:41:18

Soukyuu
Member
Registered: 2014-04-08
Posts: 854

Re: [SOLVED] kwallet-pam does not unlock KDE Wallet

I haven't updated yet (waiting for it to get stable), but your login password has to be the same as the wallet password for it to work. Also, I don't know if the package contains both the kde4 and the kde5 kwallet-pam modules, so it could be that what you are seeing is the kde4 kwallet not unlocking.


[ Arch x86_64 | linux | Framework 13 | AMD Ryzen™ 5 7640U | 32GB RAM | KDE Plasma Wayland ]

Offline

#3 2015-08-27 17:51:12

mkopec
Member
Registered: 2015-08-27
Posts: 3

Re: [SOLVED] kwallet-pam does not unlock KDE Wallet

Both kwallet and login passwords are the same. Also, according to kwallet-pam file list, the package provides both

/usr/lib/security/pam_kwallet.so
/usr/lib/security/pam_kwallet5.so

Edit: The application requesting kde wallet is akonadi_imap_resource_3.

Last edited by mkopec (2015-08-27 17:53:44)

Offline

#4 2015-08-29 10:58:35

Soukyuu
Member
Registered: 2014-04-08
Posts: 854

Re: [SOLVED] kwallet-pam does not unlock KDE Wallet

So, this is now in stable, and does not work in default configuration.
What you have to do to fix it is to put

auth            optional        pam_kwallet5.so
auth            optional        pam_kwallet.so kdehome=.kde4
session         optional        pam_kwallet5.so
session         optional        pam_kwallet.so

into /etc/pam.d/sddm instead of /etc/pam.d/kde as the package does.


[ Arch x86_64 | linux | Framework 13 | AMD Ryzen™ 5 7640U | 32GB RAM | KDE Plasma Wayland ]

Offline

#5 2015-08-29 13:23:08

mkopec
Member
Registered: 2015-08-27
Posts: 3

Re: [SOLVED] kwallet-pam does not unlock KDE Wallet

Thank you, it works.

Offline

#6 2015-08-29 14:51:05

OlafLostViking
Member
From: Lost
Registered: 2013-01-30
Posts: 59

Re: [SOLVED] kwallet-pam does not unlock KDE Wallet

There is a bug report at b.a.o.

Last edited by OlafLostViking (2015-08-29 14:57:41)

Offline

#7 2015-08-29 19:43:14

Soukyuu
Member
Registered: 2014-04-08
Posts: 854

Re: [SOLVED] kwallet-pam does not unlock KDE Wallet

Yeah, by me after I posted the solution here tongue


[ Arch x86_64 | linux | Framework 13 | AMD Ryzen™ 5 7640U | 32GB RAM | KDE Plasma Wayland ]

Offline

#8 2015-08-31 05:42:56

OlafLostViking
Member
From: Lost
Registered: 2013-01-30
Posts: 59

Re: [SOLVED] kwallet-pam does not unlock KDE Wallet

Well done ;-D

I hope arojas will find a working-out-of-the-box solution, eventually.

Offline

Board footer

Powered by FluxBB