Open ShireCiel opened 2 weeks ago
There is some sort of mismatch between the dbus configuration for the helper service and the client application. I can successfully call the helper methods manually:
$ dbus-send --system --dest=dev.jonmagon.kdiskmark.helperinterface --print-reply /Helper dev.jonmagon.kdiskmark.helper.stopCurrentTask
method return time=1731237345.853225 sender=:1.155 -> destination=:1.157 serial=5 reply_serial=2
array [
]
Actually, I do get a permission denied when I try to initSession
$ dbus-send --system --dest=dev.jonmagon.kdiskmark.helperinterface --print-reply /Helper dev.jonmagon.kdiskmark.helper.initSession
Error org.freedesktop.DBus.Error.AccessDenied: Permission denied
We may be experiencing different problems. You may be having trouble with dbus service configuration, and I may be having trouble with polkit in some way.
Alright, I think my problem is that I'm running under Chrome Remote Desktop and that's breaking PolkitQt1::Authority::AllowUserInteraction somehow. I'm guessing, the helper is unable to find my display server to prompt for authorization. If this is unrelated to the original bug, I will go open a separate bug.
Description:
Any user start bench with error: Failed to execute program dev.jonmagon.kdiskmark.helperinterface: Permission denied. Even create a dir with 777 permission, or run as root user
Steps To Reproduce:
kdiskmark start problem run benchmark got permission denied error.