Description of problem: Logging off, then logging in a session often causes freezes: cursor moves, black screen. Logging in with tty2 and "startx" is the only workaround without rebooting. Version-Release number of selected component: kf5-kglobalaccel-5.59.0-1.fc30 Additional info: reporter: libreport-2.10.0 backtrace_rating: 4 cmdline: /usr/bin/kglobalaccel5 crash_function: qt_message_fatal executable: /usr/bin/kglobalaccel5 journald_cursor: s=877e4853351041d097094b770ff2504e;i=39e6;b=6c3e9fd9170f4281ad3a1c84696ecc96;m=15c5a7e12;t=58bfe5c3573a8;x=47e0461ba31ea6ff kernel: 5.1.12-300.fc30.x86_64 rootdir: / runlevel: N 5 type: CCpp uid: 1000 Truncated backtrace: Thread no. 1 (8 frames) #2 qt (1,9 L)˜ _message_fatal at global/qlogging.cpp:1901 #3 QMessageLogger::fatal at global/qlogging.cpp:887 #4 init_platform at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:208 #5 QGuiApplicationPrivate::createPlatformIntegration at kernel/qguiapplication.cpp:1384 #6 QGuiApplicationPrivate::createEventDispatcher at kernel/qguiapplication.cpp:1401 #7 QCoreApplicationPrivate::init at kernel/qcoreapplication.cpp:857 #8 QGuiApplicationPrivate::init at kernel/qguiapplication.cpp:1430 #9 QGuiApplication::QGuiApplication at ../../include/QtCore/../../src/corelib/global/qglobal.h:1038 User Logs: --Jun 23 16:17:48 Linux-T460 kglobalaccel5[14799]: The X11 connection broke (error 1). Did the X11 server die? Jun 23 16:17:48 Linux-T460 kglobalaccel5[17590]: qt.qpa.xcb: could not connect to display :0 Jun 23 16:17:48 Linux-T460 kglobalaccel5[17590]: qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. Jun 23 16:17:48 Linux-T460 kglobalaccel5[17590]: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb. -- SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Fedora 30 (available in About System) KDE Plasma Version: 5.15.5 KDE Frameworks Version: 5.59.0 Qt Version: 5.12.1 ADDITIONAL INFORMATION Already reported to the Fedora guys (https://bugzilla.redhat.com/show_bug.cgi?id=1701485)
Git commit 6ce8f434139f47e6a71bf0b68beae92be8845ce4 by David Edmundson. Committed on 29/09/2023 at 16:31. Pushed by davidedmundson into branch 'master'. Use systemd to handle more of the shutdown Previously we killed kwin manually, then tried to exit the session. This is racey as kwin will close all connections, before systemd has realised that the session is ending this can cause all apps to restart. Also closing plasma-workspace-wayland.target is ineffective, closing the graphical-session implicitly brings down the session more explicitly. It'll close the other targets and services. Related: bug 473824, bug 450531, bug 451939, bug 450320, bug 434403 Tested by looking at `coredumpctl list` after a logout and seeing it go from 10 entries of silly aborts restarting without a display server to 3, with different unrelated causes. M +12 -4 startkde/plasma-shutdown/shutdown.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/6ce8f434139f47e6a71bf0b68beae92be8845ce4