how to enable audio as root ?

Steven Usdansky usdanskys at gmail.com
Mon Apr 6 22:22:57 UTC 2015


I just tried a little experiment. In my Mate session, I opened a
terminal window, became root, and played an mp3 file using mplayer.
Then I hit Ctl-Alt-F2 to exit to a console, logged in as root, and
tried to play the same file using mplayer. No go.Pulse audio unable to
connect. Same results logging in at the console as myself, becoming
root, and trying to play the file. However, logged in as myself at the
console, I the file did play.

On Sun, Apr 5, 2015 at 12:06 PM, sean darcy <seandarcy2 at gmail.com> wrote:
> I want to have sound when logged in as root. I don't care if it's a good
> idea or not.
>
> And I don't care if it's pulseaudio or alsa, or whatever.
>
> I've tried pulseaudio -D, but the volume control never can connect to the
> daemon. It just spams syslog with:
> pulseaudio[6288]: Denied access to client with invalid authentication data.
>
> I've added system-instance = yes to /etc/pulse/daemon.conf.
>
> I've read
> http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/SystemWide/
> .
>
> I've set up the users and groups as described.
>
> .esd_auth exists in /var/run/puls
>
> Does anyone have audio working as root?
>
> sean
>
> --
> users mailing list
> users at lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org


More information about the users mailing list