[pulseaudio-discuss] Accessing audio as root

Lennart Poettering lennart at poettering.net
Mon Jan 4 11:04:26 PST 2010


On Sat, 02.01.10 07:08, David Henningsson (launchpad.web at epost.diwic.se) wrote:

> I was just thinking, and this idea is perhaps not 100% thought through,
> but it could be worth considering.
> 
> We have this hand-over mechanism:
> 
> http://git.0pointer.de/?p=reserve.git;a=blob_plain;f=reserve.txt
> 
> It looks nice, except for that it lives on the session D-bus. Now assume
> we move (or copy) it to the system D-bus instead. Then we implement the
> handover request in speakup, timidity, and other programs not running
> inside the session context.
> 
> This seems like a working middle-way between using the user's PulseAudio
> (which seems difficult, especially when it changes) and the path of
> uninstalling PulseAudio completely.
> 
> I'm not a qualified plumber, so I could possibly be missing something
> obvious here. What do you think?

This mechanism depends on cooperating parties. We cannot assume that
when multiple users are involved.

Ther ealready is a mechanism that handles device handover on session
switches, its ck+udev. To implement things properly we should simply
use that.

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