Remaining PA process after X logout

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

 



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.


Now the primary question is what's the right approach to fix this.
I guess the best would be to kill PA properly at each X session logout
instead of self-killing after idle.  Then where's the best place to put
that?

And, why this seems appearing only on KDE or else but not in GNOME is 
still another question.  Maybe there is any missing piece in other
DEs?


Any comments/hints appreciated.


thanks,

Takashi


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux