[pulseaudio-discuss] regular user to open mpd user pavucontrol
Martin Hamant
martin at sound4.biz
Tue Aug 28 01:00:38 PDT 2012
Hi !
I wanna make sure that my request is understandable -? as English is
not my native language it might be difficult to read, I can read that !
The point here is I would need my users (at least one) to be able to
control mpd volume/routing properties, with pavucontrol
Thanks again !
Martin
Le 27/08/2012 12:23, Martin Hamant a écrit :
> Hi there !
>
> I am working on a custom ubuntu distribution (based on lucid) that runs:
>
> - mpd - as mpd user - spawning it's own pulseaudio session. (it is
> the default configuration).
> - At least one regular graphical user that uses gnome and pavucontrol
> ; who uses it's own pulseaudio session too.
>
> - I want this normal user(s) to be able to control mpd's pulseaudio
> properties !
> - I don't want to run mpd as a 'normal user' - for many reasons...
> the main reason is there is only one MPD daemon but there can be
> several 'normal user'. And it would requires editing the config file
> afterward the first user creation.
>
> By reading http://mpd.wikia.com/wiki/PulseAudio
> <http://mpd.wikia.com/wiki/PulseAudio> and using 'sudo -s -u mpd -H' I
> was able to use pacmd, but launching pavucontrol just returns
> "connection refused". Any idea ? ( I also see that as 'mpd' user ,
> strace'ing pavucontrol , it tries to connect to
> /home/regularuser/.pulse/xxxx-runtime/native ... instead of
> /home/mpd/... ?)
>
> Any direction to achieve that ?
>
> Thanks !!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20120828/ae9fa87c/attachment.html>
More information about the pulseaudio-discuss
mailing list