Gentoo Archives: gentoo-user

From: "Jörg Schaible" <joerg.schaible@×××××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Re: Re: Re: SMTP on Kmail-4.14.10 does not work without kde-apps/kwalletd-16.04.3-r1
Date: Thu, 08 Jun 2017 16:56:40
Message-Id: ohbvj4$2rc$1@blaine.gmane.org
In Reply to: Re: [gentoo-user] Re: Re: Re: SMTP on Kmail-4.14.10 does not work without kde-apps/kwalletd-16.04.3-r1 by Mick
1 Mick wrote:
2
3 > On Thursday 08 Jun 2017 16:56:21 Jörg Schaible wrote:
4 >> Mick wrote:
5 >> > On Thursday 08 Jun 2017 13:21:56 Jörg Schaible wrote:
6 >> >> > Yes, this seems to be the problem. Starting Kmail does not launch
7 >> >> > kwalletd5 and as a consequence kmail starts asking for each email
8 >> >> > account password separately.
9 >> >> >
10 >> >> > I guess until kmail:5 is installed I will have to start kwalletd5 by
11 >> >> > hand.
12 >> >>
13 >> >> My situation is different, since I use kwallet-pam. That one will
14 >> >> start kwallet5 automatically and I am not asked by KMail for passwords
15 >> >> (after it now also uses kwallet5).
16 >> >
17 >> > I'm puzzled: I have kde-plasma/kwallet-pam-5.8.6 installed, but it
18 >> > will *not*
19 >> > start kwalletd5. Bear in mind though, I do not run a full plasma
20 >> > desktop.
21 >>
22 >> Do you run SDDM? Do you have those two lines in it?
23 >>
24 >> -auth optional pam_kwallet5.so
25 >> -session optional pam_kwallet5.so auto_start
26 >
27 > Ha! Thanks for this hint!
28 >
29 > I had these entries in my /etc/pam.d/sddm
30 >
31 > -auth optional pam_kwallet.so kdehome=.kde4
32 > -auth optional pam_kwallet5.so
33 > -session optional pam_kwallet.so
34 > -session optional pam_kwallet5.so auto_start
35
36 It seems the only lines required are the kwallet5.so ones.
37
38 > but ... sddm has stopped working properly with enlightenment, which is my
39 > desktop of choice. So I started using lightdm and forgot to add these
40 > entries - TBH I thought they were not needed because everything worked as
41 > it should until now without them.
42 >
43 > So, I added the two lines you suggested and rebooted. I checked that
44 > kwalletd5 is running:
45 >
46 > $ ps axf | grep kwallet
47 > 4515 pts/1 SN+ 0:00 \_ grep --color=auto
48 > kwallet
49 > 4088 ? S 0:00 /usr/bin/kwalletd5 --pam-login 8 10
50
51 [snip]
52
53 > I think I'll give up on this. It seems kwallet:4/5 is not working as
54 > intended
55 > on my set up. I hope by the time kdepim has moved from :4 to :5 things
56 > will
57 > work as intended. Until then I will keep the old kwallet:4 installed,
58 > because at least this works as always did.
59
60 First I thought you might have run into an incompatibility between sddm and
61 lightdm ...
62
63 >> Does your system password match the password of your wallet?
64 >
65 > No, all users have different kwallet and user login passwds.
66
67 ... but that's it. kwallet-pam requires the same password for wallet and
68 login, otherwise it cannot work. Simply adjust the kwallet password or ...
69
70 >> > Running Krusader:5 and trying to connect to a remote system starts
71 >> > kwalletd5 fine, but running kmail:4 it does not.
72 >>
73 >> Does kmail:4 work after krusader:5 started kwallet5?
74 >
75 > Yes, because Krusader:5 calls kwalletd5 and asks for its password. Then
76 > this is available for all applications to use, including kmail:4.
77
78 ... you will need something else to start kwallet5 then. KMail must be fixed
79 first to start the new wallet daemon. Maybe you should open a bugzilla
80 ticket. I am quite sure you will find an entry in the error log when KMail
81 tries to access dbus for the old daemon.
82
83 Cheers,
84 Jörg