Samba issues in Dolphin

I recently upgraded from 25.05 to unstable, and Dolphin is no longer able to access kwallet, which causes it to fail to access samba shares.
Here’s the log output of KIO_SMB_LOG_VERBOSITY=10 KDE_FORK_SLAVES=1 QT_LOGGING_RULES="log_kio_smb=true;kf.kio.workers.smb=true;" dolphin --new-window

qt.multimedia.symbolsresolver: Couldn't load pipewire-0.3 library
qt.multimedia.symbolsresolver: Couldn't resolve pipewire-0.3 symbols
kf.kio.workers.smb: auth_initialize_smbc
kf.kio.workers.smb: Setting debug level to: 0
kf.kio.workers.smb: Using libsmbclient library version QVersionNumber(4.22.5)
kf.kio.workers.smb: QUrl("smb://10.0.0.4/Media2")
kf.kio.workers.smb: checkURL  QUrl("smb://10.0.0.4/Media2")
kf.kio.workers.smb: checkURL return3  QUrl("smb://10.0.0.4/Media2")
kf.kio.workers.smb: updateCache  "/Media2"
kf.kio.workers.smb: Starting discovery.
kf.kio.workers.smb: auth_smbc_get_dat: set user= readf0x , workgroup= WORKGROUP  server= 10.0.0.4 , share= Media2
kf.kio.workers.smb: updateCache  "/Media2"
kf.kio.workers.smb: libsmb-auth-callback URL: QUrl("smb://10.0.0.4/Media2")
kf.kio.core: Can't communicate with kiod_kpasswdserver (for checkAuthInfo)! "The name org.kde.kpasswdserver6 was not provided by any .service files"
kf.kio.workers.smb: open "smb://10.0.0.4/Media2" url-type: 3 dirfd: -1 errNum: 13
kf.kio.workers.smb: Discovery finished.
kf.kio.workers.smb: trying checkPassword
kf.kio.workers.smb: checkPassword for  QUrl("smb://10.0.0.4/Media2")
kf.kio.workers.smb: call openPasswordDialog for  QUrl("smb://10.0.0.4/Media2")
kf.kio.core: Can't communicate with kiod_kpasswdserver (for queryAuthInfo)!
kf.kio.workers.smb: no value from openPasswordDialog; error: 172
kf.kio.workers.smb: generic password error: 172

Kwallet is installed in the system but isn’t the default secret service (in fact, I even launched KDE just to disable kwallet in the hopes it would fix this but dolphin ignores those settings when you’re not in KDE).
Does anyone know a better way to investigate this issue? Right now I am unable to access my NAS without manually mounting, and I also have to mount it as root for some reason.

I can confirm this problem. Im currently on nixos-25.11 (8bb5646e0bed5dbd3ab08c7a7cc15b75ab4e1d0f) and dolphin fails accessing kwallet, but remmina does still work with kwallet.
I have also tested the flatpak version of dolphin (25.08.3) and it has the same problem.

Found the fix:

You need to have these packages installed:

kdePackages.dolphin
kdePackages.kio
kdePackages.kio-fuse
kdePackages.kio-extras
kdePackages.qtsvg

kio was missing / not needed before.

1 Like

The listed packages are clearly listed in https://github.com/NixOS/nixpkgs/blob/nixos-25.11/nixos/modules/services/desktop-managers/plasma6.nix#L90 (the same goes for nixos-unstable).

Do you perchance have environment.plasma6.excludePackages defined somewhere in your config and have those packages excluded?

And did you enable Plasma6 with services.desktopManager.plasma6.enable?

Edit: It dawned on me that you might not be using Plasma6 at all! In this case - yes, you have found your solution. Disregard my previous remarks.

Yes, I think both of us are using dolphin out of plasma. I use it with sway. But I have also updated the wiki: https://wiki.nixos.org/wiki/Dolphin

1 Like