[pulseaudio-discuss] RtKit help

Lennart Poettering lennart at poettering.net
Tue Jan 5 05:08:55 PST 2010


On Tue, 05.01.10 07:39, David Henningsson (launchpad.web at epost.diwic.se) wrote:

> Hi,
> 
> I'm trying to get RtKit for my application up and running, and in the lack
> of an rtkit mailing list I'm using this one as the closest I could find
> :-)
> 
> I'm using the reference implementation almost unmodified and end up with
> an "org.freedesktop.DBus.Error.AccessDenied" - "Operation not permitted"
> error. It's the dbus_connection_send_with_reply_and_block that fails and
> I'm not sure whether it is coming from rtkit or from D-Bus itself. If I've
> done something wrong with setrlimit or sched_reset_on_fork, is that the
> error to expect?
> 
> I know from the PulseAudio verbose log that PulseAudio itself manages to
> use RealTimeKit, it's just my app that fails.

Hmm, maybe its a PK policy issue?

Have you checked syslog? afair dbus-daemon writes something to syslog
if it denies access.

Does the example "rtkit-test" work?

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/           GnuPG 0x1A015CC4



More information about the pulseaudio-discuss mailing list