Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kwallet always prompt for password (custom Linux system)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Fulgurance
Veteran
Veteran


Joined: 15 Feb 2017
Posts: 1231

PostPosted: Tue Oct 15, 2024 2:13 pm    Post subject: Kwallet always prompt for password (custom Linux system) Reply with quote

Hi guys, I am Fulgurance from the project ISM: https://github.com/Fulgurance/ISM.

I made from scratch my package manager that can compile all from scratch and I am working on my linux distribution I plan to name Horizon Linux.

I integrated Openrc as primary init system.

Actually I am facing a minor, but annoying problem.

When I start a plasma session, kwallet always ask for the password. How can I configure properly kwallet to make sure it use automatically the user password without asking again and again to open the wallet ?

These are the configuration files I have:

/etc/pam.d/sddm

Code:
zohran [ ~ ]$ cat /etc/pam.d/sddm
auth     requisite      pam_nologin.so
auth     required       pam_env.so
-auth    optional       pam_kwallet5.so

auth     required       pam_succeed_if.so uid >= 1000 quiet
auth     include        system-auth

account  include        system-account
password include        system-password

session  required       pam_limits.so
session  include        system-session
-session optional       pam_kwallet5.so auto_start


/etc/pam.d/sddm-autologin
Code:
zohran [ ~ ]$ cat /etc/pam.d/sddm-autologin
auth     requisite      pam_nologin.so
auth     required       pam_env.so
auth     required       pam_succeed_if.so uid >= 1000 quiet
auth     required       pam_permit.so
-auth       optional    pam_kwallet5.so

account  include        system-account

password required       pam_deny.so

session  required       pam_limits.so
session  include        system-session
-session    optional    pam_kwallet5.so auto_start


/etc/pam.d/sddm-greeter
Code:
zohran [ ~ ]$ cat /etc/pam.d/sddm-greeter
auth     required       pam_env.so
auth     required       pam_permit.so

account  required       pam_permit.so
password required       pam_deny.so
session  required       pam_unix.so
-session optional       pam_systemd.so


The plasma version used:

Code:
zohran [ ~ ]$ ism software -se plasma-desktop

Port: @KdeSoftwares-Main
Name: Plasma-Desktop
Description: The Plasma KDE workspace
Available(s) architecture(s): x86_64
Website: https://kde.org/plasma-desktop/
Available(s) Version(s): 5.27.7
Installed Version(s):
        | 5.27.7 { Linux-Pam Bluedevil NetworkManager ModemManager Pulseaudio Phonon-Backend-Gstreamer Phonon-Backend-Vlc Sddm Emojier }
Unique dependencies setted: None
Current options setted:
[*] Linux-Pam: Enable linux-pam support
[*] Bluedevil: Enable bluedevil support
[*] NetworkManager: Enable networkmanager support
[*] ModemManager: Enable modemmanager support
[*] Pulseaudio: Enable pulseaudio support
[*] Phonon-Backend-Gstreamer: Enable gstreamer backend support
[ ] Phonon-Backend-Vlc: Enable vlc backend support
[*] Sddm: Enable sddm support
[ ] Emojier: Enable emojier support
Current local patches: None


Let me know if you need more information related to my system.

And this is the screenshot of the bug: https://i.ibb.co/gPmMVJj/Screenshot-20241015-151217.png

As you can see, my system run already on my laptop <3
_________________
My actual project: https://github.com/Fulgurance/ISM

Ingenius Software Manager is a tool to build and manage a Linux system from scratch.
It will able to manage a linux installation just with a given path to the futur root path
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum