You are not logged in.
Hello fellow Archlinux users,
I'm trying to configure mpd to run as `mpd` user rather then as my own user. I already made my library readeable by `mpd` but I still have issues with the audio output. MPD starts well as `mpd` and my fifo output to /tmp/mpd.fifo works great. It's "only" the pulse output that fails.
I followed instructions at https://wiki.archlinux.org/index.php/Mu … pd_user.29
My relevant config files are as follow
/etc/mpd.conf → /var/lib/mpd/.mpdconf
...
audio_output {
type "pulse"
name "Mizar"
server "127.0.0.1"
}
...
/etc/pulse/default.ca
...
load-module module-esound-protocol-tcp auth-anonymous=1
load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1
...
I have no /home/myuser/.config/pulse/default.ca, /var/lib/mpd/.config/pulse/default.ca, nor /var/lib/gdm/.config/pulse/default.ca
If I remove `server "127.0.0.1"` from .mpdconf and run mpd as `myuser`, mpd works well (but as my user).
If I remove `server "127.0.0.1"` from .mpdconf and run mpd as `mpd`, I have no sound (normal).
If I keep `server "127.0.0.1"` from .mpdconf and run mpd as `myuser`, I have no sound (???).
If I keep `server "127.0.0.1"` from .mpdconf and run mpd as `mpd`, I have no sound (???).
Last but not least I see two pulse audio instance (not sure if that changes anything)
gdm 812 0.0 0.0 1151668 12280 ? Ssl 10:06 0:00 /usr/bin/pulseaudio --daemonize=no
myuser 1065 0.3 0.1 1949476 17640 ? S<sl 10:06 0:04 /usr/bin/pulseaudio --daemonize=no
Any idea what might go wrong ???
Offline
You dont even need to change the global pulse config. Just install paprefs and start it. Then in 2nd tab allow network access and tick the anonymous checkbox. (btw, you forgot the anonymous part for the native-protocol-tcp line)
He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.
Douglas Adams
Offline