22
submitted 8 months ago* (last edited 8 months ago) by Fredol@lemmy.world to c/linux@lemmy.ml

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

you are viewing a single comment's thread
view the rest of the comments
[-] Max_P@lemmy.max-p.me 2 points 8 months ago

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

[-] Fredol@lemmy.world 1 points 8 months ago

Thanks! I'll look into this

this post was submitted on 23 Feb 2024
22 points (95.8% liked)

Linux

47996 readers
972 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS