https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290882

--- Comment #5 from Mark Felder <[email protected]> ---
I have a solution but I don't understand why. There are two problems which I've
identified:

1.
/usr/local/share/dbus-1/services/org.freedesktop.impl.portal.desktop.kwallet.service

this DBUS service that starts up kwalletd is a problem. It's discussed upstream
in https://bugs.kde.org/show_bug.cgi?id=509680

Delete this file, it fixes a race condition that is meant to be solved by the
previously mentioned patch



2. manually set a socketPath in /usr/local/etc/pam.d/sddm as I previously
described, but use /tmp or /var/tmp as the path:

auth optional pam_kwallet5.so socketPath=/tmp

Now it works.


I think something is tampering with files in the XDG_RUNTIME_PATH. I used
dtrace to watch /var/run/user/1001 during login and I can see multiple attempts
to delete the kwallet and gnome-keyring sockets. Based on the pam module's
source I only expect it to delete the socket once to clean up before the new
socket is created.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to