Gentoo Archives: gentoo-user

From: "Jörg Schaible" <joerg.schaible@×××××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Re: Re: Re: Re: KWallet doesn't recognise my password
Date: Fri, 16 Dec 2016 08:46:13
Message-Id: o309jj$c9u$1@blaine.gmane.org
In Reply to: Re: [gentoo-user] Re: Re: Re: Re: KWallet doesn't recognise my password by Mick
1 Mick wrote:
2
3 > On Thursday 15 Dec 2016 14:02:39 Jörg Schaible wrote:
4 >> Mick wrote:
5 >> > On Wednesday 14 Dec 2016 09:08:11 Jörg Schaible wrote:
6 >> >> Mick wrote:
7 >> >> > On Tuesday 13 Dec 2016 11:35:33 Jörg Schaible wrote:
8 >> >> [snip]
9 >> >>
10 >> >> >> No, that's the point: If you enable it, all kwallet-4 based apps
11 >> >> >> will fail. At least until 5.7. I've not tested 5.8 yet.
12 >> >> >>
13 >> >> >> Cheers,
14 >> >> >> Jörg
15 >> >> >
16 >> >> > This is what works here without any problems:
17 >> >> [snip]
18 >> >>
19 >> >> Well, for me it broke KDE4-based apps on several different machines.
20 >> >> So, tell me, can you open with Konqueror local files?
21 >> >>
22 >> >> Cheers,
23 >> >> Jörg
24 >> >
25 >> > Yes, I can open files from Konqueror with a single click, unlike
26 >> > Dolphin which requires a double click to descent into a directory or
27 >> > open a file.
28 >>
29 >> Well, for me it broke on several machines for all KDE 4 based apps (e.g.
30 >> Konqueror) the file protocol (Konqueror only show an error page about an
31 >> unknown protocol 'file') and the FileOpen dialog no longer works (you
32 >> cannot open/save files in those apps using the default dialog, e.g.
33 >> libreoffice, amarok, ...).
34 >>
35 >> As soon as I deactivate kwallet-pam, all apps start working properly.
36 >>
37 >> Cheers,
38 >> Jörg
39 >
40 > How do you activate/de-activate kwallet-pam?
41
42 By setting comments in /etc/pam.d/sddm
43
44 =================== %< =======================
45 $ cat /etc/pam.d/sddm
46 #%PAM-1.0
47
48 auth include system-login
49 account include system-login
50 password include system-login
51 session include system-login
52 #-auth optional pam_kwallet.so kdehome=.kde4
53 #-auth optional pam_kwallet5.so
54 #-session optional pam_kwallet.so
55 #-session optional pam_kwallet5.so auto_start
56 =================== %< =======================
57
58 > This is what my /etc/pam.d/kde contains, in case yours is different:
59 >
60 > $ cat /etc/pam.d/kde
61 > #%PAM-1.0
62 >
63 > auth required pam_nologin.so
64 >
65 > auth include system-local-login
66 >
67 > account include system-local-login
68 >
69 > password include system-local-login
70 >
71 > session include system-local-login
72
73 =================== %< =======================
74 $ cat /etc/pam.d/kde
75 #%PAM-1.0
76
77 auth required pam_nologin.so
78 auth include system-local-login
79 account include system-local-login
80 password include system-local-login
81 session include system-local-login
82 -auth optional pam_kwallet.so kdehome=.kde4
83 -auth optional pam_kwallet5.so
84 -session optional pam_kwallet.so
85 -session optional pam_kwallet5.so auto_start
86 =================== %< =======================
87
88 It contains obviously still the kwallet-pam entries, but AFAICS only the
89 ones for your display manager are relevant. At least this is what the elog
90 message indicates if you install it.
91
92 Cheers,
93 Jörg