• Annoying delay at shutdown / reboot

    From Jon Hreg@21:1/5 to All on Mon Dec 28 04:40:02 2020
    Since the last updates of two SID boxes, the shutdown hangs on both with the message: "a stop job ..."

    journalctl -b -1 shows:
    Dec 28 03:14:21 xxx kglobalaccel5[3448]: qt.qpa.xcb: could not connect to display :0
    Dec 28 03:14:21 xxx kglobalaccel5[3448]: qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
    Dec 28 03:14:21 xxx kglobalaccel5[3448]: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
    Dec 28 03:14:21 xxx kglobalaccel5[3448]: Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
    Dec 28 03:14:21 xxx systemd[1830]: plasma-kglobalaccel.service: Main process exited, code=killed, status=6/ABRT
    Dec 28 03:14:21 xxx systemd[1830]: plasma-kglobalaccel.service: Failed with result 'signal'.
    Dec 28 03:14:21 xxx systemd[1830]: Failed to start KDE Global Shortcuts Server.

    A quick search on the web then returned this hit: https://www.mail-archive.com/kde-bugs-dist@kde.org/msg502289.html

    Hence my guess, this might be of interest here.

    Many thanks and best regards

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sandro =?ISO-8859-1?Q?Knau=DF?=@21:1/5 to All on Mon Dec 28 14:38:50 2020
    Hey,

    I see this issue for a while already but never found time to search for a bugreport/solution. With the link you proposed and follow to the bugreport https://bugs.kde.org/show_bug.cgi?id=429415 I've seen that there is a proposed patch. I included this patch in 5.77.0-3, hopefully this makes the shutdown fast again.

    hefee

    --

    On Montag, 28. Dezember 2020 04:15:45 CET Jon Hreg wrote:
    Since the last updates of two SID boxes, the shutdown hangs on both with the message: "a stop job ..."

    journalctl -b -1 shows:
    Dec 28 03:14:21 xxx kglobalaccel5[3448]: qt.qpa.xcb: could not connect to display :0 Dec 28 03:14:21 xxx kglobalaccel5[3448]: qt.qpa.plugin: Could
    not load the Qt platform plugin "xcb" in "" even though it was found. Dec
    28 03:14:21 xxx kglobalaccel5[3448]: This application failed to start
    because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Dec 28 03:14:21 xxx kglobalaccel5[3448]: Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb. Dec 28 03:14:21 xxx systemd[1830]: plasma-kglobalaccel.service: Main process exited, code=killed,
    status=6/ABRT Dec 28 03:14:21 xxx systemd[1830]:
    plasma-kglobalaccel.service: Failed with result 'signal'. Dec 28 03:14:21
    xxx systemd[1830]: Failed to start KDE Global Shortcuts Server.

    A quick search on the web then returned this hit: https://www.mail-archive.com/kde-bugs-dist@kde.org/msg502289.html

    Hence my guess, this might be of interest here.

    Many thanks and best regards


    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEOewRoCAWtykmSRoG462wCFBgVjYFAl/p3+oACgkQ462wCFBg VjYIdQ/9FbImJ/4qdAY/zBhzaGz3Wft4vNAgXOqX737QZ5v0jKbOfDYTfkT6zOs6 H4LcSST4Jd8lr3jWYmTVo5t0Vp0mjSYkDjRnz8jCO2UZqoNTuGtIivBNKiBuAxyj RIeftgIX4ue2mycN9yswiVd4MhoRvuGO0xmZ8xf8bwJx1JC7krMfD0SnlRI3KLkC OiN+CY/Ze+9qO0zA68VZRpMGkV6Pdf7zdYUG23auJUuk5JauseFaNLnzqc8q1vuf juAdA5d5Uq8tZffZOuVd3OOxZbfW2QO515wxKjfBQAyF4v9Gl8lfMfSGyX0kfoBR xVpv3ErwMtd663MedKUlHaUjROeG2Lm4OJseCeEcWAqyBiybXVG8tNBNH//0/Biw 3n0Gq2W4UVyapkwVPb4kFt/o8Wl8OvBDhusmPuhBiL/0bHydh4U1yAVWd/1AZY/e kIJcz41GRQ58NJlLfy4Z24stVAACMyFxWxp7Jkp9dn/bNBcoJB+MiMXqhQdtQaZe sDGx2xqYmaaJBQsjyl3u9SpeUxtu0PUlfbCPxLr9k9sFWmiLNUO4XpchhRM1il8Z IrKlPDEZBhTis7ZSF4Q/VX+VitoPxJqwtef2yN2Y4tqUdSlYgl5yzf0pu8YJ1IsH Sa2YqWONi2v1tpkTc6JUAc3fneJQg4Wov6oz87jyuUrTUI/a938=
    =U7Mk
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sedat Dilek@21:1/5 to All on Mon Dec 28 21:50:01 2020
    Hi Sandro and Jon,

    I upgraded to libkf5globalaccel5:amd64 version 5.77.0-3 from Debian/unstable.

    Indeed, the "annoying delay" (90 secs of time saving @ reboot/shutdown) is gone.

    Thanks.

    Regards,
    - Sedat -

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jon Hreg@21:1/5 to All on Tue Dec 29 14:20:01 2020
    Thank you!
    That's what I call fast - impressive!

    With the link you proposed and follow to the bugreport https://bugs.kde.org/show_bug.cgi?id=429415 I've seen
    that there is a proposed patch.

    You're right, I probably should have noted that as well.

    Unfortunately, the problem does not seem to be fixed yet ...

    I included this patch in 5.77.0-3, hopefully this makes the shutdown fast again.

    After the update:

    ...
    Setting up libkf5globalaccel5:amd64 (5.77.0-3) ...
    Setting up libkf5kiogui5:amd64 (5.77.0-3) ...
    Setting up libkf5globalaccelprivate5:amd64 (5.77.0-3) ...
    Setting up libkf5globalaccel-bin (5.77.0-3) ...
    ... and further packages ...

    the problem still exists:

    # journalctl -b -1
    ...
    Dec 29 13:22:14 *** systemd[1827]: plasma-kglobalaccel.service: Scheduled restart job, restart counter is at 4.
    Dec 29 13:22:14 *** systemd[1827]: Stopped KDE Global Shortcuts Server.
    Dec 29 13:22:14 *** systemd[1827]: Starting KDE Global Shortcuts Server...
    Dec 29 13:22:14 *** kglobalaccel5[3175]: qt.qpa.xcb: could not connect to display :0
    Dec 29 13:22:14 *** kglobalaccel5[3175]: qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
    Dec 29 13:22:14 *** kglobalaccel5[3175]: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
    Dec 29 13:22:14 *** kglobalaccel5[3175]: Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
    Dec 29 13:22:14 *** systemd[1827]: plasma-kglobalaccel.service: Main process exited, code=killed, status=6/ABRT
    Dec 29 13:22:14 *** systemd[1827]: plasma-kglobalaccel.service: Failed with result 'signal'.
    Dec 29 13:22:14 *** systemd[1827]: Failed to start KDE Global Shortcuts Server. Dec 29 13:22:14 *** systemd[1827]: plasma-kglobalaccel.service: Scheduled restart job, restart counter is at 5.
    Dec 29 13:22:14 *** systemd[1827]: Stopped KDE Global Shortcuts Server.
    Dec 29 13:22:14 *** systemd[1827]: Starting KDE Global Shortcuts Server...
    Dec 29 13:22:14 *** kglobalaccel5[3178]: qt.qpa.xcb: could not connect to display :0
    Dec 29 13:22:14 *** kglobalaccel5[3178]: qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
    Dec 29 13:22:14 *** kglobalaccel5[3178]: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
    Dec 29 13:22:14 *** kglobalaccel5[3178]: Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
    Dec 29 13:22:14 *** systemd[1827]: plasma-kglobalaccel.service: Main process exited, code=killed, status=6/ABRT
    Dec 29 13:22:14 *** systemd[1827]: plasma-kglobalaccel.service: Failed with result 'signal'.
    Dec 29 13:22:14 *** systemd[1827]: Failed to start KDE Global Shortcuts Server. Dec 29 13:22:15 *** systemd[1827]: plasma-kglobalaccel.service: Scheduled restart job, restart counter is at 6.
    Dec 29 13:22:15 *** systemd[1827]: Stopped KDE Global Shortcuts Server.
    Dec 29 13:22:15 *** systemd[1827]: plasma-kglobalaccel.service: Start request repeated too quickly.
    Dec 29 13:22:15 *** systemd[1827]: plasma-kglobalaccel.service: Failed with result 'signal'.
    Dec 29 13:22:15 *** systemd[1827]: Failed to start KDE Global Shortcuts Server. ...

    By the way, in the meantime I had disabled Input Actions under Sytem Settings/Startup Services ... that seemed to have fixed the problem - without me noticing any restrictions so far.

    Best regards

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sandro =?ISO-8859-1?Q?Knau=DF?=@21:1/5 to All on Tue Dec 29 14:58:28 2020
    Hey,

    After the update:

    ...
    Setting up libkf5globalaccel5:amd64 (5.77.0-3) ...
    Setting up libkf5kiogui5:amd64 (5.77.0-3) ...
    Setting up libkf5globalaccelprivate5:amd64 (5.77.0-3) ...
    Setting up libkf5globalaccel-bin (5.77.0-3) ...
    ... and further packages ...

    Well this patch will only been active after restart, as the current service is not restarted if you update the package, because it is a user process. User processes are not restarted when upgrading the corresponding package. So you should give it another try restarting your computer.

    hefee
    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEOewRoCAWtykmSRoG462wCFBgVjYFAl/rNgQACgkQ462wCFBg VjYXnQ//XNcq7o8y0x9luypSW6JFB/e+E4CUEGHv4kw+HMQuQ1Zakq+pAxE+A5x+ ecvMFdcgzSkdIxhsmnAgt0XQVRbKwQYaejRdBqXRV0L168nQVkbZVXImqOy2JXvB v9v/6MV8eQoDOFbFrbGusb0rKs1AbIuc7Ar/IcqMKJcWjODB6KonVZGqN5gLugo+ rnkGttga3weaYiHSz0PNf9Q5uNC9ewjfbHagyXFH2LL7mPBeNE7chHJfHpW7Mk3r icFP3FwQiCfrrjSTC9Cu48blSMbkKDdB7nchyGDwltyE9GH4GeXaM1BMpytIrG84 EmxKDnMddBHtM6j0505yC6r0s8oXmyhqG4nGgsWXDueTteDKYXwlDbWO4xmJIpUr APOYmOa+QCAahJgNIszAUlypT7XN05yk6+hqp6OcuPY6+LZhqXSBPlBzTccZ1X8Z CAhiFdPRcFePIT1sWsIHlSfegzrUGtBUSVnSpd4qhWP1Osi0+PziAnw77q6oho0h FrLK/6xJef1bKJamXBMTIpcZ7gmwHCA3DlYyxFqrx1fd4uaN1eP/ObexdsYpj3Ln W6rXpHtw7ZVKkBsLRNDHCfAAIFWOdqR8473bVrAYlVJMyKEuz1Sr88uhug8aT/G0 YKFdO84B0fhv5Es1qTCnjqilBwzTHthClo7YJVgUbDljZrh9XFc=
    =SDCF
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jon Hreg@21:1/5 to All on Tue Dec 29 16:10:01 2020
    Hi,

    Well this patch will only been active after restart, as the current service is
    not restarted if you update the package, because it is a user process. User processes are not restarted when upgrading the corresponding package. So you should give it another try restarting your computer.

    I did, of course.
    Even 2 times ... more a remnant from more mechanical days ;-)

    ... and now, after the 3rd time:

    # journalctl -b -1
    Dec 29 15:22:04 xxx systemd[1827]: plasma-kglobalaccel.service: Main process exited, code=killed, status=6/ABRT
    Dec 29 15:22:04 xxx systemd[1827]: plasma-kglobalaccel.service: Failed with result 'signal'.
    Dec 29 15:22:04 xxx systemd[1827]: Failed to start KDE Global Shortcuts Server. Dec 29 15:22:05 xxx systemd[1827]: plasma-kglobalaccel.service: Scheduled restart job, restart counter is at 4.
    Dec 29 15:22:05 xxx systemd[1827]: Stopped KDE Global Shortcuts Server.
    Dec 29 15:22:05 xxx systemd[1827]: Starting KDE Global Shortcuts Server...
    Dec 29 15:22:05 xxx kglobalaccel5[6426]: qt.qpa.xcb: could not connect to display :0
    Dec 29 15:22:05 xxx kglobalaccel5[6426]: qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
    Dec 29 15:22:05 xxx kglobalaccel5[6426]: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
    Dec 29 15:22:05 xxx kglobalaccel5[6426]: Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
    Dec 29 15:22:05 xxx systemd[1827]: plasma-kglobalaccel.service: Main process exited, code=killed, status=6/ABRT
    Dec 29 15:22:05 xxx systemd[1827]: plasma-kglobalaccel.service: Failed with result 'signal'.
    Dec 29 15:22:05 xxx systemd[1827]: Failed to start KDE Global Shortcuts Server. Dec 29 15:22:05 xxx systemd[1827]: plasma-kglobalaccel.service: Scheduled restart job, restart counter is at 5.
    Dec 29 15:22:05 xxx systemd[1827]: Stopped KDE Global Shortcuts Server.
    Dec 29 15:22:05 xxx systemd[1827]: Starting KDE Global Shortcuts Server...
    Dec 29 15:22:05 xxx kglobalaccel5[6427]: qt.qpa.xcb: could not connect to display :0
    Dec 29 15:22:05 xxx kglobalaccel5[6427]: qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
    Dec 29 15:22:05 xxx kglobalaccel5[6427]: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
    Dec 29 15:22:05 xxx kglobalaccel5[6427]: Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
    Dec 29 15:22:05 xxx systemd[1827]: plasma-kglobalaccel.service: Main process exited, code=killed, status=6/ABRT
    Dec 29 15:22:05 xxx systemd[1827]: plasma-kglobalaccel.service: Failed with result 'signal'.
    Dec 29 15:22:05 xxx systemd[1827]: Failed to start KDE Global Shortcuts Server. Dec 29 15:22:05 xxx systemd[1827]: plasma-kglobalaccel.service: Scheduled restart job, restart counter is at 6.
    Dec 29 15:22:05 xxx systemd[1827]: Stopped KDE Global Shortcuts Server.
    Dec 29 15:22:05 xxx systemd[1827]: plasma-kglobalaccel.service: Start request repeated too quickly.
    Dec 29 15:22:05 xxx systemd[1827]: plasma-kglobalaccel.service: Failed with result 'signal'.
    Dec 29 15:22:05 xxx systemd[1827]: Failed to start KDE Global Shortcuts Server.


    # dpkg -l '*globalaccel*'
    Desired=Unknown/Install/Remove/Purge/Hold
    | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
    ||/ Name Version Architecture Description +++-===============================-============-============-==============================================================
    ii libkf5globalaccel-bin 5.77.0-3 amd64 Configurable global shortcut support.
    ii libkf5globalaccel-data 5.77.0-3 all Configurable global shortcut support.
    ii libkf5globalaccel-dev:amd64 5.77.0-3 amd64 development files for kglobalaccel
    ii libkf5globalaccel-doc 5.77.0-3 all Configurable global shortcut support (documentation)
    ii libkf5globalaccel5:amd64 5.77.0-3 amd64 Configurable global shortcut support.
    ii libkf5globalaccelprivate5:amd64 5.77.0-3 amd64 Configurable global shortcut support - private runtime library


    Thanks for the effort and best regards

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sandro =?ISO-8859-1?Q?Knau=DF?=@21:1/5 to All on Tue Dec 29 23:08:27 2020
    Hey,

    You are right, It is also not fixed for me.
    I'm not sure how this complete thing is handled. For me it seems like systemd is taking care about restarting, properly because kglobalaccel does not stop with exit code 0.

    Dez 29 22:48:12 xxx systemd[1]: Stopping Session 3 of user Me
    Dez 29 22:48:12 xxx systemd[5622]: plasma-kglobalaccel.service: Main process exited, code=exited, status=1/FAILURE
    Dez 29 22:48:12 xxx systemd[5622]: plasma-kglobalaccel.service: Failed with result 'exit-code'.
    Dez 29 22:48:12 xxx systemd[5622]: plasma-kglobalaccel.service: Scheduled restart job, restart counter is at 1.
    Dez 29 22:48:12 xxx systemd[5622]: Stopped KDE Global Shortcuts Server.
    Dez 29 22:48:12 xxx systemd[5622]: Starting KDE Global Shortcuts Server...

    Okay I may ask upstream about this.

    hefee

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEOewRoCAWtykmSRoG462wCFBgVjYFAl/rqNsACgkQ462wCFBg Vjb3Aw//cSxBgY83KrZEa4Q+sqV+ywZT1xQnbsYdQNK/KShHpOpFe47HU8+825Kt EhdOKNYlfysOAtIRe9qynOx0BI27BaNBoPmkDDuGekyY5WN9yKVLwZ1SK/Q8quG4 HwZkrYbRrho943GVrEkst3Uelw4LhbhJ99GeNKQ96Yui626zETJpXMaKaoXI/bgN 2kHQg/1g4EGI3+X/AeqAgzOCX9TjfOwbvxa/B3qVa0VCbq0zmYJXxAiVnKc//nyL FGXU+LaokGPm+IR921qKKDYzAsEbCW9OLvkbRHQ59sAT7MhueR6jT1OU1TbohRCd L/T7MffAV45vHZXyV/p+n9CqLOUdRmvb6yJnbucbGFKj1EfCtQPhgkPWrUwDRmbj PZ16zEp/ATnKuEC+BWczLy0/QVoVUoscxzj6GwTvRPQXoo2NmtpKTHtbGn7db0QD KkgOso8OKqZUKENzauOyJE6VPT+6gBnJnM5KbCbM7psggVzviipr1Q16QjzoxTgi 02j1VlN6nqAkxiym+JZPc0ICpVf05jCSTtNpnrlIO8mXGsRfhQ4Oo1wiTOGQms6x SrayiSe/qcpyTPouA+VyOl2d+Lscfnu2AU/Cl7Xq2qhlE00Be5oYF0y/b/dZ3x6m EcuOkIkEjLxPbS2gn0dqssiUMdvzpW3sTYv5kIEEODjnxEEeOJI=
    =I7Pk
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sandro =?ISO-8859-1?Q?Knau=DF?=@21:1/5 to All on Wed Dec 30 00:17:22 2020
    Copy: hreg@gmx.net (Jon Hreg)

    Hey,

    I made another scan through my journal and saw, that kglobalaccel is not
    the source of the 2 min break. At least for myself I seen the 2min breaks in logs
    comes from at-spi2-core [1].

    At least the analyses of my logs are telling me that the restarting and failure of kglobalaccel is done within 1-2 secs.
    And your log samples also telling, that the restart is not taking longer than 2secs.
    Sure the restarting is annoying but it does not seem like the root of the 2min break.

    22:13:38 dbus-daemon[5399]: [session uid=1000 pid=5399] Successfully activated service 'org.kde.Shutdown'
    [... 11 secs later]
    22:13:51 systemd[5372]: gpg-agent.service: Consumed 21.189s CPU time.
    22:15:21 systemd[5372]: at-spi-dbus-bus.service: State 'stop-sigterm' timed out. Killing.
    [...]
    22:15:22 systemd[1]: Stopped target Local File Systems.

    hefee

    [1] https://bugs.debian.org/890833
    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEOewRoCAWtykmSRoG462wCFBgVjYFAl/ruQIACgkQ462wCFBg Vjbb+A/9HPp0Y2bELFTwCyGkz9QPyC/72rsPMuPfkHQ8T9IbyiRDVy+WFA1NQsG/ 1XlcJSoNlq/TyNXB9TnQiYZySp2bkp31bHqTv05Y3yMBIEw2FeA6L9p2FJZ7lE9x H1bMhymfzmh/WLJQT/86DNbeuTHB6OZnfeRtwBGAr87GTWpkWr9GtIle7nvHNgxf 7Hyb+97oogbn7r7mCWPMQ+AfFVHXa2tD7L+Rq9aKqx5JuJJeGJr877Y+yLbnNnq4 o4BfFmrA0H8SP4qTyKIkZ+z8zzEf77kh4sTwg3AR5yvyu2X8DE8LMoYAciH4K8uj +Ox0+wz/0rnHmJgL0O90GQEDb0mKDUrWoyIE6feUP4kNjFlJ4YQ0P8SRH11to0hY qwMUz+syOgjnVDfJ7ClM+iSWmX2wAwJ1gvY+jeeeGcc4m8zO6n5ggMV+OcEvRBHP ppvr2/ExuJLerY4it8FZ3DBRulHw8/3+qY5K6trtB+BT11/n2vtCNBfHD/9IElDY lk0HaD6i4XRiJAppi26+sjcbOxNojg5kLxAJB2lKAvDQDb2rHjxAB1plhZ7Yn73y QGB0srWC8L+wkblnbaM46LjHKIHytgqThmBwP1W0ljz5Tv/GlhBMZ11uYqiURMgl mZvsajrDEpExFrw9zPZtuwZHYxKJquzBS5OfX/htwL6sDuQXJDI=
    =wUWu
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)