I start KDE with startx on tumbleweed, everything works except that kwallet asks for my password when I launch discord or other apps. I installed pam_kwallet and made sure that my user password is identical to my kwallet password. Anyone knows how I could fix this?
My xinitrc seems to be sourced from /usr/libexec/xinit/xinitrc by default
pam_kwallet doesn’t get run on tty logins. By default it’s only added to display managers/greeters. You can add it to the relevant login file in
/etc/pam.d
and it may work, I’m not sure, there’s some ordering needed where you need to be halfway in a graphical session.The code seems to bail if it doesn’t detect a graphical session: https://invent.kde.org/plasma/kwallet-pam/-/blob/master/pam_kwallet.c?ref_type=heads#L222
Thanks! I’ll look into this