Please keep the threading and reply to your own messages.
Am Samstag, den 29.05.2010, 12:38 -0600 schrieb Yan Mo:
> On Fedora 11 when I run aplay as root it gives the messages:
>
> ALSA lib pulse.c:272:(pulse_connect) PulseAudio: Unable to connect:
> Connection refused
>
> aplay: main:608: audio open error: Connection refused
>
> These messages never showed up for Fedora 2 through 10. What are some
> workarounds for this?
Am Montag, den 31.05.2010, 09:15 -0600 schrieb Yan Mo:
As far as I know all distributions make the assumptions that root is> Why can't aplay be used as root on a system with PulseAudio on it? Its
> unusual that something like this works for users but not root. This is
> a serious issue with both Ubuntu 9.10 and Fedora 12 where one cannot
> even uninstall PulseAudio without damaging the system!
just used for administrative duties. Otherwise it is a security issue
and I guess PulseAudio is doing the same.
I think you can configure PulseAudio to run as root. You should look it
up in its Wiki [1] or in its manual pages.
If you still have questions please contact pulseaudio-discuss or contact
your distribution support forums and leave a reference here.
If I were you I would describe my use case a little more in depths. That
means why do you want to run `aplay` as root.
Thanks,
Paul
[1] http://pulseaudio.org/
Why one should anyone have to "configure PulseAudio as root" if ALSA is the official Linux Sound Architecture?
Lowering the nice-level to keep aplay from stuttering under the load of the system would presumably be one of the "administrative duties"?
In the case of aplay app, it should always work directly with the system, given that is included with most distros. There is no need for anyone to have it installed, nor some 7 unrelated dependent libraries like mplayer does, particularly if one has little or no connection to the internet...
------------------------------------------------------------------------------
_______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user