You are not logged in.

#1 2025-06-27 13:50:59

Wild Penguin
Member
Registered: 2015-03-19
Posts: 388

Certain applications take ages to start, looking for kwallet

Hi,

After a recent application, certain applications take ages to start. These applications include Signal, Discord, code-oss and chromium.

It seems (I'm not 100% certain) these applications are looking for KDE Wallet (I am using KDE Plasma). Curiously, also kwalletmanager takes ages to start. But I have disabled KDE Wallet:

~/.config/kwalletrc:

[Auto Allow]
kdewallet=kded5,Chromium,kwalletmanager5,drkonqi,akonadi_pop3_resource_0,kmail2,akonadi_imap_resource_5,kstars,akonadi_maildispatcher_agent,akonadi_imap_resource_6,accountwizard,akonadi_imap_resource_7,akonadi_imap_resource_0,okular,kwalletmanager

[Auto Deny]
kdewallet=Google Earth Pro,Opera,discord,Signal,code-oss,KDE System,falkon,kded6,xdg-desktop-portal

[Migration]
alreadyMigrated=true

[Wallet]
Close When Idle=false
Close on Screensaver=false
Enabled=false
First Use=false
Idle Timeout=10
Launch Manager=true
Leave Manager Open=false
Leave Open=true
Prompt on Open=true
Use One Wallet=true

[org.freedesktop.secrets]
apiEnabled=true

For example, when starting Signal:

[36070:0627/164425.052529:ERROR:dbus/object_proxy.cc:590] Failed to call method: org.kde.KWallet.isEnabled: object_path= /modules/kwalletd6: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[36070:0627/164425.052546:ERROR:components/os_crypt/sync/kwallet_dbus.cc:117] Error contacting kwalletd6 (isEnabled)
[36070:0627/164425.052646:ERROR:dbus/object_proxy.cc:590] Failed to call method: org.kde.KLauncher.start_service_by_desktop_name: object_path= /KLauncher: org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable
[36070:0627/164425.052655:ERROR:components/os_crypt/sync/kwallet_dbus.cc:86] Error contacting klauncher to start kwalletd6
[36070:0627/164450.077080:ERROR:dbus/object_proxy.cc:590] Failed to call method: org.kde.KWallet.close: object_path= /modules/kwalletd6: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[36070:0627/164450.077096:ERROR:components/os_crypt/sync/kwallet_dbus.cc:412] Error contacting kwalletd6 (close)
[36070:0627/164450.101905:ERROR:content/browser/network_service_instance_impl.cc:586] Network service crashed, restarting service.

After these lines, Signal finally starts up and functions normally.

In /etc/pam.d/sddm:

#%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

Installed kwallet packages:

$ pacman -Qs kwallet
local/ksshaskpass 6.4.0-1 (plasma)
    ssh-add helper that uses kwallet and kpassworddialog
local/kwallet 6.15.0-1 (kf6)
    Secure and unified container for user passwords
local/kwallet-pam 6.4.0-1 (plasma)
    KWallet PAM integration
local/kwallet5 5.116.0-3 (kf5)
    Secure and unified container for user passwords
local/kwalletmanager 25.04.2-1 (kde-applications kde-utilities)
    Wallet management tool
local/signon-kwallet-extension 25.04.2-1 (kde-applications kde-network)
    KWallet integration for signon framework

IIRC, I can not remove any of these since some applications (for some whatever reason that is) I use depend on them.

I've tried to delete ~/.local/share/kwalletd . Is my configuration somehow invalid and tripping over something (kwalletd is still starting)?

Offline

#2 2025-06-27 15:52:25

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,723

Re: Certain applications take ages to start, looking for kwallet

But I have disabled KDE Wallet:

You don't want to use it?
Mask /usr/share/dbus-1/services/org.kde.kwalletd6.service by placing an equally named symlink to /dev/null into /etc/dbus-1/services/org.kde.kwalletd6.service

Offline

#3 2025-06-27 16:58:43

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,076

Re: Certain applications take ages to start, looking for kwallet

Other than that, all of these are a variation of chromium and should all accept the --password-store=basic flag

https://wiki.archlinux.org/title/Chromi … persistent
https://wiki.archlinux.org/title/Waylan … line_flags -- ignore the "Wayland" part, it's about the principle.

Offline

Board footer

Powered by FluxBB