[pulseaudio-discuss] access to the pa server from an alternate user using sudo
josephj at main.nc.us
Thu Apr 2 01:42:27 UTC 2020
ICYMI: Unless it's just a typo in this email, it looks like you have
"auth-group=mewgroup" with an M instead of an N. Don't know if that will
fix anything, but ...
On 4/1/20 10:07 AM, bru red wrote:
> i'm running slackware64-14.2 with default configuration. It uses
> pulseaudio as the sound system. I'm unable to get sound from programs
> run by another user with sudo.
> I created long ago a new group called "newgroup" to which I added the
> user that runs pulseaudio mainuser and created a new user newuser
> belonging to newgroup.
> i set "auth-group=mewgroup" to module-native-protocol-unix in
> ~mainuser/.config/pulse/default.pa and i can see that it is properly
> loaded through pacmd. But still when running audio programs like
> mplayer as newuser with sudo i can't get sound. Same problem with
> graphical programs.
> the socket created is as follows:
> drwx------ 2 mainuser users 4096 avril 1 18:36:59 /tmp/pulse-t5rfGHe56b5G
> ├── [srwxrwxrwx mainuser users Apr 1 18:36] cli
> ├── [srwxrwxrwx mainuser users Apr 1 18:35] native
> └── [-rw------- mainuser users Apr 1 18:35] pid
> when i run an audio outputting program as newuser with sudo i see a new
> folder /tmp/pulse-xxxXXxxXXXxx created and nothing inside.
> in /etc/group:
> pulseaudio-discuss mailing list
> pulseaudio-discuss at lists.freedesktop.org
More information about the pulseaudio-discuss