When you first install MPD, when you run it with a pulseaudio backend, you might encounter the following problem:

Apr 27 22:50 : exception: nested: failed to connect: Access denied

As pulseaudio ships and runs by default on most desktops, and is good once you've configured it correctly (opinion), you need to make mpd  coexist with it. The reason you get the above error is that while MPD runs as its own user, pulseaudio runs as the user currently logged in.

The simplest solution is to make pulseaudio accept TCP connections, and let MPD connect to it that way. On the user side, add the following line to ~/.config/pulse/default.pa:

load-module module-native-protocol-tcp auth-ip-acl=

Add the following to /etc/mpd.conf:

audio_output {
type        "pulse"
name        "Pulse"
server        ""

And viola! It works! Now download some of my music, add it to the MPD library, and rock on!

While you're at it, MPDroid is an excellent Android client for MPD. It even supports streaming over MPD's in-built web server.

Categories: Linux

Leave a Reply

Related Posts


[Solved] kmod-wl cannot load module: unknown symbol in module

If you manage to compile the Broadcom wl driver from source,  you may run in to the “unknown symbol in module” when you try to load the driver with insmod. modprobe may even complain that Read more…


[Solved] GPG Check Failed Error when installing package with dnf

I was trying to install protobuf-compiler as a requisite for Google’s Tensor Flow library for Python3, when I encountered this error: Public key for protobuf-compiler-3.3.1-2.fc27.x86_64.rpm is not installedFailing package is: protobuf-compiler-3.3.1-2.fc27.x86_64 GPG Keys are configured Read more…


My Workstation on Fedora Rawhide (27)

Linux iwia 4.11.0-0.rc8.git2.1.fc27.x86_64 #1 SMP Wed Apr 26 14:48:37 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux Related