Hi,
I'm trying to do an implementation of rtkit make_realtime, using the
g_dbus API.
But I'm blocking on some issues I don't know how to solve.
I have attached a sample program. When I try to run it, I get:
./dbus
** (process:16064): WARNING **: [::make_realtime] Failed to get
MaxRealtimePriority
** (process:16064): WARNING **: [::make_realtime] Failed to set realtime
scheduling using rtkit
(GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Operation not
permitted)
Why MaxRealtimePriority property is not returned ?
Why the dbus call returns 'Operation not permitted' (even as root) ?
Any ideas ?
Thanks,
Emmanuel.
Attachment:
dbus.c
Description: Text Data