Hello, not sure if this is the right place to ask. I'm working on this new feature: https://bugs.kde.org/show_bug.cgi?id=410902. In the current implementation I used KAuth, but it seems to me a dbus daemon would be a better fit for this case. The daemon must be run as root, and should therefore probably use the systemBus. I read the tutorials related to dbus in the techbase pages, but those seem more oriented to the sessionBus.
I already implemented the communication, which seems to work properly. I'm missing a way to automatically install the policy file with cmake (which should be in /etc/dbus-1/system.d) and a way to automatically start with root privileges the daemon (can that be done with a .desktop file?). Anyone who can provide some info? Is there maybe a place where to find guidelines about these two points? Or even examples doing the same? Thank you very much for any help! Regards. -- Dr. Luca Carlon Software Engineer