Re: lightdm (testing): Long waiting time after login
On 21.05.2018 05:25 Ben Caradoc-Davies wrote:
On 19/05/18 13:07, Ben Caradoc-Davies wrote:
On 19/05/18 11:28, Ben Caradoc-Davies wrote:
The cause is xfce4-session. I will file a bug report.
Bug#899080: xfce4-session hangs in getrandom if crng not ready
I think this is a symptom of Bug#898088 in libbsd0:
Bug#898088: arc4random_buf() may block for a long time
xfce4-session uses IceGenerateMagicCookie and thus arc4random_buf to
Fixed in libbsd/0.8.7-1.1 on unstable:
"Switch Linux getrandom() usage to non-blocking mode, continuing to
use fallback mechanims if unsuccessful. Closes: #898088"
I installed libbsd0_0.8.7-1.1_amd64.deb on a buster VM and it no
longer hangs after lightdm credentials are entered (the xfce4-session
hang reported in #899080):
Packages for other architectures here:
I can confirm that libbsd/0.8.7-1.1 fixes the problem here, too.
Thanks a lot for your investigation!