Skip to main content
Topic: kwallet does not open by default (Read 179 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

kwallet does not open by default

Hi,

I noticed that kwallet does not open by default and I need to open it manually for the flatpak apps to use them.

Code: [Select]
 $ cat /etc/pam.d/sddm /etc/pam.d/sddm-autologin /etc/pam.d/sddm-greeter 
#%PAM-1.0

auth        include     system-login
-auth       optional    pam_gnome_keyring.so
-auth       optional    pam_kwallet5.so

account     include     system-login

password    include     system-login
-password   optional    pam_gnome_keyring.so    use_authtok

session     optional    pam_keyinit.so          force revoke
session     include     system-login
-session    optional    pam_gnome_keyring.so    auto_start
-session    optional    pam_kwallet5.so         auto_start

# arch wiki
auth            optional        pam_kwallet5.so
session     optional    pam_kwallet5.so         auto_start
#%PAM-1.0
auth        required    pam_env.so
auth        required    pam_faillock.so preauth
auth        required    pam_shells.so
auth        required    pam_nologin.so
auth        required    pam_permit.so
-auth       optional    pam_gnome_keyring.so
-auth       optional    pam_kwallet5.so
account     include     system-local-login
password    include     system-local-login
session     include     system-local-login
-session    optional    pam_gnome_keyring.so auto_start
-session    optional    pam_kwallet5.so auto_start

# arch wiki
auth            optional        pam_kwallet5.so
session     optional    pam_kwallet5.so         auto_start
#%PAM-1.0

# Load environment from /etc/environment and ~/.pam_environment
auth required pam_env.so

# Always let the greeter start without authentication
auth required pam_permit.so

# No action required for account management
account required pam_permit.so

# Can't change password
password required pam_deny.so

# Setup session
session required pam_unix.so
session optional pam_elogind.so

I have tried adding two lines from the archwiki, but this did not work.

Does anyone know how to fix this?