How to fix broken KDE Desktop (Qt)

Specs:

  • CPU: AMD RYZEN 7 4700U
  • GPU: Radeon Graphics (integrated)

So I installed Anaconda on my laptop which messed up KDE

On boot, I can’t get past the fsck message confirming a clean filesystem
I am able to enter the command line using CTRL + ALT + F2

Here I removed the Anaconda folders and also removed it from PATH but the issue still persists

When I try to start KDE manually using kstart5 plasmashell, I get:

qt.qpa.xcb: could not connect to display
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. 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.

Aborted (core dumped)

I found a solid amount of resources regarding this error but none of the suggested solutions seems to work for me.

Also I am unable to perform pacman -Syu
If I try to do so I get prompted to select between various packages:

:: Replace lib32-libcanberra-pulse with multilib/lib32-libcanberra? [Y/n]
:: Replace libcanberra-pulse with extra/libcanberra? [Y/n]
:: Replace qca with extra/qca-qt5? [Y/n]

Nomatter what combination of replace / keep I choose, it always results in an error along the lines of:

error: failed to prepare transaction (could not satisfy dependencies)
:: installing libcanberra (0.30+2+gc0620e4-4) breaks dependency "libcanberra=0.30+2+gc0620e4-3" required by libcanberra-gstreamer

Now I don’t know how I should proceed. Is there any way to repair or reset KDE?
Any packages I could try reinstalling?

Any help is greatly appreciated as I need this laptop up and running as soon as possible.
If any further information is needed, just let me know

Thank You very much in advance

I posted related troubles here: [Stable Update] 2021-06-14 - Kernels, Browsers, Mesa, Deepin, Systemd, Gnome Apps 40.2, Pipewire, Haskell - #181 by mason

I hope somoeone can help us, as I’ve been stuck for hours now.

You should be able to just remove all three of those packages and then update.

From current update announcement.

1 Like

Here’s what I’m seeing in my logs after I try and run plasmashell:

$ journalctl --catalog --pager-end | grep --ignore-case X11 | tail --lines=40
Jun 15 17:59:57 mason-pc sddm[532]: Session "/usr/share/xsessions/plasma.desktop" selected, command: "/usr/bin/startplasma-x11"
Jun 15 17:59:58 mason-pc sddm-helper[2765]: Starting: "/usr/share/sddm/scripts/Xsession \"/usr/bin/startplasma-x11\""
Jun 15 17:59:58 mason-pc startplasma-x11[2775]: "kapplymousetheme" ("breeze_cursors", "24") exited with code 255
Jun 15 17:59:58 mason-pc dbus-daemon[2780]: [session uid=1000 pid=2780] Activating service name='org.kde.KSplash' requested by ':1.2' (uid=1000 pid=2775 comm="/usr/bin/startplasma-x11 ")
Jun 15 17:59:58 mason-pc kwin_x11[2812]: kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5089:46: this compose sequence is a duplicate of another; skipping line
Jun 15 17:59:58 mason-pc kwin_x11[2812]: kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5091:48: this compose sequence is a duplicate of another; skipping line
Jun 15 17:59:58 mason-pc kwin_x11[2812]: kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5093:48: this compose sequence is a duplicate of another; skipping line
Jun 15 17:59:58 mason-pc kwin_x11[2812]: kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5097:47: this compose sequence is a duplicate of another; skipping line
Jun 15 17:59:58 mason-pc kwin_x11[2812]: kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5099:46: this compose sequence is a duplicate of another; skipping line
Jun 15 17:59:58 mason-pc kwin_x11[2812]: kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5107:48: this compose sequence is a duplicate of another; skipping line
Jun 15 17:59:58 mason-pc kwin_x11[2812]: kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5111:46: this compose sequence is a duplicate of another; skipping line
Jun 15 17:59:58 mason-pc kwin_x11[2812]: kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5113:46: this compose sequence is a duplicate of another; skipping line
Jun 15 17:59:58 mason-pc kwin_x11[2812]: kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5117:45: this compose sequence is a duplicate of another; skipping line
Jun 15 17:59:58 mason-pc kwin_x11[2812]: kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5120:46: this compose sequence is a duplicate of another; skipping line
Jun 15 17:59:58 mason-pc dbus-daemon[2780]: [session uid=1000 pid=2780] Activating via systemd: service name='org.kde.ActivityManager' unit='plasma-kactivitymanagerd.service' requested by ':1.10' (uid=1000 pid=2812 comm="/usr/bin/kwin_x11 ")
Jun 15 17:59:59 mason-pc plasma_session[2791]: org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/pulseaudio.desktop" ("/usr/bin/start-pulseaudio-x11")
Jun 15 17:59:59 mason-pc kwin_x11[2812]: kwin_core: XCB error: 10 (BadAccess), sequence: 831, resource id: 477, major code: 142 (Composite), minor code: 2 (RedirectSubwindows)
Jun 15 17:59:59 mason-pc kwin_x11[2812]: kf.config.core: "\"fsrestore1\" - conversion of \"0,0,0,0\" to QRect failed"
Jun 15 17:59:59 mason-pc kwin_x11[2812]: kf.config.core: "\"fsrestore2\" - conversion of \"641,641,0,0\" to QRect failed"
Jun 15 17:59:59 mason-pc kwin_x11[2812]: kf.config.core: "\"fsrestore3\" - conversion of \"641,641,0,0\" to QRect failed"
Jun 15 17:59:59 mason-pc kwin_x11[2812]: kf.config.core: "\"fsrestore4\" - conversion of \"641,641,0,0\" to QRect failed"
Jun 15 17:59:59 mason-pc kwin_x11[2812]: kf.config.core: "\"fsrestore5\" - conversion of \"0,0,0,0\" to QRect failed"
Jun 15 17:59:59 mason-pc kwin_x11[2812]: kf.config.core: "\"fsrestore6\" - conversion of \"641,641,0,0\" to QRect failed"
Jun 15 17:59:59 mason-pc kwin_x11[2812]: kf.config.core: "\"fsrestore7\" - conversion of \"641,641,0,0\" to QRect failed"
Jun 15 17:59:59 mason-pc kwin_x11[2812]: kf.config.core: "\"fsrestore8\" - conversion of \"641,641,0,0\" to QRect failed"
Jun 15 17:59:59 mason-pc kwin_x11[2812]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 885, resource id: 23068681, major code: 18 (ChangeProperty), minor code: 0
Jun 15 18:00:27 mason-pc kwin_x11[2812]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 16338, resource id: 4194329, major code: 18 (ChangeProperty), minor code: 0
Jun 15 18:00:29 mason-pc kwin_x11[2812]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 16465, resource id: 18874378, major code: 18 (ChangeProperty), minor code: 0

Does this help anyone identify a problem?

Doing a full system upgrade (pacman -Syu) after removing the conflicting libraries solved the issue

KDE now boots up as usual

Thank You

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.