[pulseaudio-discuss] Remaining PA process after X logout

Rex Dieter rdieter at math.unl.edu
Sun Feb 25 19:16:32 UTC 2018


Takashi Iwai wrote:

> Hi,
> 
> we've stumbled on a long-standing issue with PA, namely, PA fails to
> start after relogin quickly.  The details and discussions are found in
>   https://bugzilla.suse.com/show_bug.cgi?id=1052437> 

> In short, the problem is that the session management removes
> $XDG_RUNTIME_DIR (/run/users/*) after logout while PA remains running.
> This leaves also the ESD socket in /tmp/esd-$uid, too.  When re-login,
> a new PA process is kicked off because the old socket in /run/user/*
> is gone.  Then it hits with the existing /tmp/esd-$uid, considering as
> a fatal error, hence it aborts.

Combine that with default in /etc/pulse/daemon.conf : 
exit-idle-time = 20

and it takes up to that long for it to exit.  In fedora, to mitigate this 
risk, we've dropped that from 20 to 4 , but that still leaves a small window

I'd welcome anything better.

-- rex




More information about the pulseaudio-discuss mailing list