Re: Pulseaudio update - mpd now refuses to play as same user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 19.11.2012 08:08, Jan Steffens wrote:
> On Mon, Nov 19, 2012 at 7:50 AM, Oon-Ee Ng <ngoonee.talk@xxxxxxxxx> wrote:
>> Hi, Pulseaudio from [testing] just updated to 2.99.2-1, now mpd audio
>> output (running mpd as my own user) fails with the following:-
>>
>> Nov 19 14:45 : output: Failed to enable "MPD Pulse Output" [pulse]:
>> pa_context_connect() has failed: Connection refused
>> Nov 19 14:45 : player_thread: problems opening audio device while playing
>> "PointBreak-StandTough.mp3"
>>
>> Setting up pulseaudio to listen on TCP locally as in the wiki works, but I
>> never needed to do that before. Can anyone else verify this? Is it perhaps
>> logind related (worked fine before this last pulseaudio update)?
> 
> You're running mpd from systemd? I believe it's because PulseAudio now
> uses $XDG_RUNTIME_DIR/pulse instead of /tmp/pulse-XXXXXX,
> $XDG_CONFIG_HOME/pulse instead of $HOME/.pulse, and
> $XDG_CONFIG_HOME/pulse/cookie instead of $HOME/.pulse-cookie.
> 
> mpd has no session, so these variables are not set, unlike the session
> you login to.
> 
> This should be sent upstream (bugs.freedesktop.org).
> 

I've asked in #pulseaudio and you can use PULSE_RUNTIME_PATH to override
XDG_RUNTIME_DIR, but I'm not sure how this could be fixed in our
package. XDG_RUNTIME_DIR is supposed to be removed if the user logs out
so you shouldn't put the pulse socket there if you want mpd to use it.

-- 
Florian Pritz

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux