Unable to create KIO worker. Can not create a socket for launching a KIO worker for protocol 'tags'

When I right click any file from Dolphin file-manager I’m getting “Unable to create KIO worker. Can not create a socket for launching a KIO worker for protocol 'tags'.” message. I can’t even drag and drop files/folders to trash. I’m on EndeavourOS KDE DE.

When Dolphin launched from terminal I’m getting errors like

kf.kio.core: KIO Connection server not listening, could not connect
kf.kio.core: couldn't create worker: "Can not create a socket for launching a KIO worker for protocol 'tags'."
kf.kio.core: ConnectionServer::listenForRemote failed: "QLocalServer::listen: Name error"
kf.kio.core: KIO Connection server not listening, could not connect
kf.kio.core: couldn't create worker: "Can not create a socket for launching a KIO worker for protocol 'thumbnail'."
kf.kio.core: ConnectionServer::listenForRemote failed: "QLocalServer::listen: Name error"
kf.kio.core: KIO Connection server not listening, could not connect
kf.kio.core: couldn't create worker: "Can not create a socket for launching a KIO worker for protocol 'trash'."
kf.kio.core: ConnectionServer::listenForRemote failed: "QLocalServer::listen: Name error"

System info:

  • OS: EndeavourOS x86_64
  • Kernel: Linux 6.18.48-1-lts
  • DE: KDE Plasma 6.7.4
  • WM: KWin (Wayland)
  • CPU: Intel(R) Core™ i3-4170 (4) @ 3.70 GHz
  • GPU: NVIDIA GeForce GT 710 [Discrete]
  • Dolphin: v26.08.0
  • KDE Frameworks: 6.29.0 | Qt: Using 6.11.2 and built against 6.11.1
  • Build ABI: x86_64-little_endian-lp64

For what it’s worth, someone else on an Arch Linux derivative had what seems to be a similar problem, and found that it was related to their setting up AppArmor:

I saw that thread, uninstalling isn’t solution to the issue. Yes do use AppArmor default configuration and want to use it for better security. I haven’t used any custom configurations.
Also asked in AppArmor’s matrix room, so far got no response.

It needs additional configuration for Dolphin.
Dolphin is a multi-process application, kioworkers are processes that dolphin must be able to launch and communicate with.
That’s a security and stability driven design.

Updating to aur/apparmor.d → 0.4913.0-1 fixed the issue.