https://bugs.kde.org/show_bug.cgi?id=429426

--- Comment #29 from David Edmundson <[email protected]> ---
What I believe is happening is kglobalaccel has X11 torn away from under it
(which is not too surprising) and fails with an error code, it then gets
restarted by systemd because a unit exists. We don't have an X server so crash
5 times in a loop - we then get blacklisted and it fails to start when X11
really is up.


With the full systemd session the PartOf=GraphicalSession.target somewhat helps

I can reproduce this happening, but can't immediately manage to reproduce any
ill-effect, it will be timing related.


I've thought of two remedies that I think will both work.


I would like it if someone is in a position to verify.

Solution 1:
Edit plasma-kglobalaccel.service and add to the service:
SuccessExitStatus=0 1


This will mean on the first time that the X11 connection is pulled out from
under it, we won't try and restart.


Solution 2:

During plasma boot, call:
 systemctl --user reset-failed  

early in the boot, like in /etc/X11/Xsession.d


I would like both verified and we'll merge an implementation of both.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to