<div dir="ltr"><div><div>Hi Folks...hoping you can help a user troubleshoot a pulseaudio problem.  I originally posted this on askubuntu (<a href="http://askubuntu.com/questions/544925/failed-to-open-audio-output-error-when-trying-to-send-audio-from-mpd-to-pulsea">http://askubuntu.com/questions/544925/failed-to-open-audio-output-error-when-trying-to-send-audio-from-mpd-to-pulsea</a>) but it doesn't look like the necessary experts are there.<br><br>I have never been able to get mpd and pulseaudio to work together on my system, from Ubuntu 12.04 (and probably earlier) to 14.04 today.  They seem to work fine independently (mpd with alsa, pulse with VLC, web browsers, and everything else), but when I try to send audio from mpd through pulseaudio, mpd reports "Failed to open audio output".  Here's what I know:<br><br>- Software is Ubuntu 14.04, pulseaudio 4.0, Music Player Daemon 0.18.7<br>- Pulse seems to be working fine since VLC lists all my pulse sinks and can play sound through any of them. <br>- mpd works fine if I send the output through alsa instead of pulse<br>- Both mpd and pulseaudio are running under my user (fred) according to top and the System Monitor GUI.<br>- fred, mpd, and pulseaudio are all members of the pulse, pulse-access, and audio groups.<br><br>My mpd.conf file is pretty vanilla; the pulse section is the generic:<br>audio_output { <br>type "pulse" <br>name "General Pulse" <br>}<br><br>I've tried it with and without the alsa output also enabled, and I also tried specifying sinks directly in mpd.conf, but I always get the “Failed to open audio output” error as soon as mpd tries to enable the pulse output.<br><br></div>I've tried uninstalling and/or purging pulse and/or mpd many times.  I've disabled or deleted any config files I can find so they can be regenerated when reinstalled.  However I noticed that when I reinstall pulseaudio it does not recreate the ~/.pulse 
directory or that directory's contents, so I reuse that directory and its contents, but I think the settings are the defaults.<br><br><div>Other things that may or may not be pertinent:<br>These utilities work: pacmd, pavucontrol, paprefs, <br><br></div><div>These just hang: padevchooser, pasystray, paman, pavumeter<br></div></div><div><br>pasystray returns:<br>** Message: PulseAudio terminated!<br>** Message: reconnecting...<br>** Message: pa_context_connect() failed: <br>** Message: Connection refused<br>** Message: pa_context_connect() failed: <br>** Message: Connection refused<br><br></div><div>I think I have something wrong with the local networking on my box - internet is fine but php and some other things using localhost are wonky.<br></div><div><br></div><div>Sorry for the long post.  Any help much appreciated.<br><br></div><div>-Fred<br></div></div>