Bug 501875 - KDE crashing after logging in
Summary: KDE crashing after logging in
Status: RESOLVED DOWNSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (show other bugs)
Version: master
Platform: Arch Linux Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-22 18:10 UTC by Kristijan
Modified: 2025-03-25 19:18 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kristijan 2025-03-22 18:10:53 UTC
SUMMARY

Hello! It's quite late at night so I honestly didn't want to try debugging too much, however after an update my Dolphin file manager and the desktop all of a sudden crashed and after rebooting I couldn't login to the desktop (SDDM works though) and when going to run "kstart5 plasmashell" in TTY it says:

qt.qpa.xcb: could not connect to display
qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load Qt xcb platform plugin.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstall the application may fix this problem.

Available platform plugins are: vnc, vkkhrdisplay, eglfs, xcb, wayland, minimal, offscreen, linuxfb, minimalegl, wayland-egl.



I use the open-dkms-nvidia drivers, SDDM, and Wayland. Any ideas on how to fix it without having to reinstal Plasma? Thanks, sorry for the grammar errors or for the question having an easy answer, it's quite late.

STEPS TO REPRODUCE
1. Update system
2. Reboot
3. Login to the account using SDDM

OBSERVED RESULT
With Wayland it crashes instantly (A black screen that returns to SDDM), with X11 Discord opens up with nothing else working (Alt+F2 opens window, but it doesn't run anything)

EXPECTED RESULT
The desktop working as expected with the wallpaper, applications, and else working.

SOFTWARE/OS VERSIONS
Kinfo doesn't work: kcmshell6: symbol lookup errir: /usr/lib/libKF6XmlGui.so.6: undefined symbol: _ZN20KKeySequenceRecorder11setPatternsE6QFlagsINS_7PatternEE. I did this off the top of my head.
Linux/KDE Plasma: Arch, Based Linux kernel and Zen kernel both don't work, latest Plasma desktop
KDE Plasma Version: 6.3
KDE Frameworks Version: ?
Qt Version: 6.1.1

ADDITIONAL INFORMATION
Comment 1 TraceyC 2025-03-25 19:18:13 UTC
Based on the error you're seeing with KInfo, it seems like the system isn't actually fully up to date, or the last update had a problem.
This is probably the root cause of the other issues you're seeing. You should report this to Arch, as a packaging / update problem

https://wiki.archlinux.org/title/Bug_reporting_guidelines

In particular, libKF6XmlGui.so.6 is in kxmlgui, whichneeds the KDE Framework (KF6) packages.
https://archlinux.org/groups/x86_64/kf6/

If you have problems with Plasma after working out the missing symbols and any related update issues, please let us know.