5

I'm having problems with kdeconnect on Lubuntu and the only error I see when I execute the daemon with --replace is the inablility to launch kuiserver:

Couldn't start kuiserver from org.kde.kuiserver.service: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kuiserver was not provided by any .service files")

I have it in qdbusviewer list on my main installation (it's a separate machine) but can't find what package it's from, what file provides this service. There is no file named like this and I can't even find anything with grep kuiserver -ri in select system directories.

Note that ideally the answer should be generic as I'm interested not only in solving this particular problem but in learning how to solve problems like this one in general.

Systems in question are 20.04 but the question itself is not about 20.04, thus no tag. plasma-workspace package does not provide this service, I tried installing in on Lubuntu and even rebooting after this.

int_ua
  • 8,892

2 Answers2

3

You can get the PID of the process owning a DBus socket:

dbus-send --session --print-reply --dest=org.freedesktop.DBus / org.freedesktop.DBus.GetConnectionUnixProcessID string:org.kde.kuiserver

then when you have the PID, just ps -fp PID

alternate:

find the string "kuiserver" in /usr/bin:

for exe in /usr/bin/*; do sudo strings -f "$exe"; done | grep "kuiserver"

(sudo is required because your user may not have read permissions for many executables)

for more specificity you could also grep for "org.kde.kuiserver.service"


Although you can safely ignore the kuiserver error, it shouldn't affect KDE Connect.

3

Despite what the other answer says you do not need plasmashell to use KDE Connect.

TL;DR You can ignore the error

kuiserver provides a way for applications such as KDE Connect to report progress for jobs (such as file transfers) to Plasma. Plasma then embedds a progress bar in the panel.

When kuiserver is not available, i.e. when not using Plasma, KDE Connect falls back to displaying the transfer progress in a standalone window. Not as pretty as the progressbar integrated into Plasma, but perfectly functional.

Source: I am a KDE Connect and Plasma developer