#1148106 ukui-screensaver: lock backend activates org.kde.kglobalaccel in greeter mode, causing crashes on every boot

Package:
ukui-screensaver
Source:
ukui-screensaver
Description:
Screensaver for UKUI desktop environment
Submitter:
Pan Zhang
Date:
2026-10-01 15:21:04 UTC
Severity:
normal
#1148106#5
Date:
2026-09-17 01:25:34 UTC
From:
To:
Dear Maintainer,

ukui-screensaver-backend unconditionally creates an interface for
org.kde.kglobalaccel, including when running in the LightDM greeter
session.

Creating the QDBusInterface is enough to activate
org.kde.kglobalaccel, even before any global shortcut operation is
performed.

In the greeter session this starts plasma-kglobalaccel5.service. The
service cannot connect to the display and exits, after which systemd
restarts it repeatedly until the start limit is reached.

Typical log output includes:

systemd: Starting plasma-kglobalaccel5.service…
kglobalaccel5: qt.qpa.xcb: could not connect to display
systemd: plasma-kglobalaccel5.service: Main process exited
systemd: Scheduled restart job

This happens on every boot and may leave multiple core dumps behind.

Global shortcut blocking is not needed in the greeter session, since it
runs in its own LightDM display session.

Expected result:

When running in greeter mode, ukui-screensaver should not activate or
contact org.kde.kglobalaccel.

This is separate from the ukui-session-manager issue about the missing
display environment in the simpleDesk activation environment. That
issue affects services which legitimately need display access, while
this issue is that kglobalaccel should not be started by the greeter in
the first place.

Regards,

#1148106#10
Date:
2026-10-01 15:19:20 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
ukui-screensaver, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1148106@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
handsome_feng <jianfengli@ubuntukylin.com> (supplier of updated ukui-screensaver package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Thu, 01 Oct 2026 10:54:43 -0400
Source: ukui-screensaver
Architecture: source
Version: 4.20.0.5-1
Distribution: unstable
Urgency: medium
Maintainer: Kylin Team <team+kylin@tracker.debian.org>
Changed-By: handsome_feng <jianfengli@ubuntukylin.com>
Closes: 1148106 1148505
Changes:
 ukui-screensaver (4.20.0.5-1) unstable; urgency=medium
 .
   [ zhangpan ]
   * New upstream bugfix-only release.
   * Fix KglobalAccelHelper talking to org.kde.kglobalaccel in the
     lightdm greeter: constructing QDBusInterface already triggers
     service activation, and the systemd user instance in the greeter
     has no DISPLAY, so the KF5 kglobalaccel5 daemon aborted with
     SIGABRT five times on every boot.(Closes: #1148106)
   * Fix the lock/login screen staying in English when the user has
     no explicitly set language: fall back to the system language
     when the user language is empty or its translation file is
     missing, both at startup and on current-user
     changes.(Closes: #1148505)
   * Hide the lightdm-xsession, kylin-wlcom and ubuntu entries from
     the session switcher list on the login screen.
   * Drop the leftover no-op preinst maintainer script.
   * Install the LoadCustomPlugin example into /usr/share/doc.
   * Bump debhelper compatibility level to 14.
Checksums-Sha1:
 5aefbf7c9a661f638fd712c20eb9767335103e1e 2822 ukui-screensaver_4.20.0.5-1.dsc
 88690b0955e46a0648f9461b87d34dd6b891c55c 5640524 ukui-screensaver_4.20.0.5.orig.tar.xz
 60a61c6ad98241c64df9d16d1b369de7f2a0c553 20784 ukui-screensaver_4.20.0.5-1.debian.tar.xz
 a1e1f668640b19acef9d52adc68eb904fbf1258e 34119 ukui-screensaver_4.20.0.5-1_source.buildinfo
Checksums-Sha256:
 cd320e3621292dcda8af620def6e50f0d8e4ee7d7002685e37d049a230bf8a9c 2822 ukui-screensaver_4.20.0.5-1.dsc
 3e23e9fc894c4c1f25e408e0f4b8ed21f4078f2b2b06d5715613cfe64f61fc5d 5640524 ukui-screensaver_4.20.0.5.orig.tar.xz
 1693c1653559d937e2bda32998b929594574a8042caa496e73cdf48f4042f4bf 20784 ukui-screensaver_4.20.0.5-1.debian.tar.xz
 fc15d1c26eb1c91cafc7f54689639b87b11f2788add5c0960d7eb284db2c472a 34119 ukui-screensaver_4.20.0.5-1_source.buildinfo
Files:
 4dd9008ffb3ca3948ede80bba45b27e4 2822 x11 optional ukui-screensaver_4.20.0.5-1.dsc
 92e90ff62840e70d3e3864b98ebef7f0 5640524 x11 optional ukui-screensaver_4.20.0.5.orig.tar.xz
 c490cbb20f247d70a6d289904946be42 20784 x11 optional ukui-screensaver_4.20.0.5-1.debian.tar.xz
 ff9a020506acff3ec51797e1861f9b4b 34119 x11 optional ukui-screensaver_4.20.0.5-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJPBAEBCgA5FiEEhsgAHpUwnacZWWSCm7hQwBMRHwwFAmq+dZ4bHGppYW5mZW5n
bGlAdWJ1bnR1a3lsaW4uY29tAAoJEJu4UMATER8M4sIQAK033RGWSut8SUd20f54
2amSx/hZMKKVveV+mWZGRs3irfeFqXwm4s/l4cU+QzCD7NbKWieiPUv65yj42l9v
9RbrHIyXuqkLIMAAnkWPB3US8lr0hDH8FewI1TGL2uwxyyKlV2vhsL8eAgHYSBxu
KtCn6i0i3z9n75t7N31Rkry8HXNILloire72BqAyC/Hao1PO3cEMGZ0cyryF1Yst
YtamWZTU6wPAu7KJxFZ7VTcWx3vvEjKJI4ZFWtnsoTedoNE05wJ1XpjAqv5PGn0F
FqX1BsvlPmmsbRAf7v+GLZi6ok2aXul4LQR3pKw10g8Vhv1OhOEkiRDhJU3cbBcy
UBAJagwzLPc1D2FTHe2CxhO7UcKm897mbeLsbsHM6jX4hTnA8yottW+01atQPvqN
exkYOmgKbW5z0GUDW8doVWb4wCFtpf8O/RfcRKhZXeIuc9OKEfTMqMVgtKdG1N7i
ezosGjarwHAVuRrDxDNkknJJFXWC/pkXYdA/DnTjboJw6IqJpcfA7t5BOYU0xQdE
sQ74+PnicJ0wZkQ/lUB3jLdq+lbSDLfjFLCZs57Yq1dIKmsZzj2Nm/5AtHi0Dpb0
6g1HZFNCMjL2ny+MrIVCMajkX4NSvkSENXmL3s3pnz+vgn57/PO5/i9Pec+52AOz
tJMCua8lOKLd0uNaNgfuqxlM
=YC86
-----END PGP SIGNATURE-----