Bug 434239 - "Communication with the local password server failed" error when attempting to connect to remote Samba server
Summary: "Communication with the local password server failed" error when attempting t...
Status: RESOLVED WORKSFORME
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: git master
Platform: openSUSE Linux
: NOR grave
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-10 16:17 UTC by Nate Graham
Modified: 2025-02-22 17:52 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Graham 2021-03-10 16:17:49 UTC
Everything KDE from current git master.

I have a Samba share set up on my living room Windows 10 PC. today when I tried to connect to it to test something for Bug 430947, Dolphin displayed an error message: "Communication with the local password server failed".

here's the console output:

$ KDE_FORK_SLAVES=1 dolphin
Qt: Session management error: networkIdsList argument is NULL
kf.kio.core: Can't communicate with kiod_kpasswdserver (for checkAuthInfo)!
kf.kio.core: Can't communicate with kiod_kpasswdserver (for checkAuthInfo)!
kf.kio.core: Can't communicate with kiod_kpasswdserver (for checkAuthInfo)!
log_kio_smb: -- Failed to smbc_opendir: Operation not permitted
kf.kio.core: Can't communicate with kiod_kpasswdserver (for queryAuthInfo)!
kf.kio.core: Can't communicate with kiod_kpasswdserver (for checkAuthInfo)!
kf.kio.core: Can't communicate with kiod_kpasswdserver (for queryAuthInfo)!
kf.kio.core: Can't communicate with kiod_kpasswdserver (for checkAuthInfo)!
log_kio_smb: -- Failed to smbc_opendir: Operation not permitted
kf.kio.core: Can't communicate with kiod_kpasswdserver (for checkAuthInfo)!
log_kio_smb: -- Failed to smbc_opendir: Operation not permitted


This is unaffected by systemd boot; I got the same results with it both on and off.
Comment 1 Harald Sitter 2021-03-10 17:24:43 UTC
kf.kio.core: Can't communicate with kiod_kpasswdserver (for checkAuthInfo)!

Seems your kio(d) is broken, or dbus, or the session bus. This does smell like a setup problem though. Notably kiod is dbus-invoked, there aren't a lot of ways this can go sideways.

Moving bug to kio since it's either slavebase or kiod, if it is a bug.
Comment 2 80p3fy75dc 2023-04-25 21:25:10 UTC
Has anyone ever found a solution? I'm having the same issue when trying to access any machine via the FISH protocol. MTP in Dolphin is also broken with my Android phone.

This all started after I switched from KDE Plasma to AwesomeWM. I removed all Plasma packages but kept Dolphin and Ark installed. No issue whatsoever before that.

- Distro: Arch Linux
- kio 5.105.0-1
- kio-extras 23.04.0-1

$ KDE_FORK_SLAVES=1 dolphin
kf.coreaddons: "Could not load plugin from /usr/lib/qt/plugins/ffmpegthumbs.so: Failed to extract plugin meta data from '/usr/lib/qt/plugins/ffmpegthumbs.so'"
kf.kio.core: Can't communicate with kiod_kpasswdserver (for checkAuthInfo)!
kf.kio.core: Can't communicate with kiod_kpasswdserver (for checkAuthInfo)!
kf.kio.core: Can't communicate with kiod_kpasswdserver (for queryAuthInfo)!
kf.kio.core: Can't communicate with kiod_kpasswdserver (for queryAuthInfo)!
kf.kio.core: "Communication with the local password server failed"

I tried to reinstall Dolphin, kio and kio-extras on my host and remote machines (all running Arch Linux), to no avail. SSH works as expected and so does adb (regarding the MTP in Dolphin being broken).

Any insight is appreciated.
Comment 3 80p3fy75dc 2023-05-13 12:13:12 UTC
(In reply to 80p3fy75dc from comment #2)
> Has anyone ever found a solution? I'm having the same issue when trying to
> access any machine via the FISH protocol. MTP in Dolphin is also broken with
> my Android phone.
> 
> This all started after I switched from KDE Plasma to AwesomeWM. I removed
> all Plasma packages but kept Dolphin and Ark installed. No issue whatsoever
> before that.
> 
> - Distro: Arch Linux
> - kio 5.105.0-1
> - kio-extras 23.04.0-1
> 
> $ KDE_FORK_SLAVES=1 dolphin
> kf.coreaddons: "Could not load plugin from
> /usr/lib/qt/plugins/ffmpegthumbs.so: Failed to extract plugin meta data from
> '/usr/lib/qt/plugins/ffmpegthumbs.so'"
> kf.kio.core: Can't communicate with kiod_kpasswdserver (for checkAuthInfo)!
> kf.kio.core: Can't communicate with kiod_kpasswdserver (for checkAuthInfo)!
> kf.kio.core: Can't communicate with kiod_kpasswdserver (for queryAuthInfo)!
> kf.kio.core: Can't communicate with kiod_kpasswdserver (for queryAuthInfo)!
> kf.kio.core: "Communication with the local password server failed"
> 
> I tried to reinstall Dolphin, kio and kio-extras on my host and remote
> machines (all running Arch Linux), to no avail. SSH works as expected and so
> does adb (regarding the MTP in Dolphin being broken).
> 
> Any insight is appreciated.

Adding the following to my ~/.xinitrc file solved the issue:

dbus-update-activation-environment --systemd --all
Comment 4 Oto Šťáva 2024-01-12 09:21:05 UTC
I've been having the same problem on Sway. Using `dbus-update-activation-environment --systemd --all` broke other things, though. What seems to have solved the problem for me is this:

dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway XDG_SESSION_TYPE

Namely, I have had that line without XDG_SESSION_TYPE from earlier and Dolphin authentication wasn't working. After adding XDG_SESSION_TYPE, it now works flawlessly.
Comment 5 Nate Graham 2025-02-22 17:52:45 UTC
Can't reproduce the issue anymore.