KDE Plasma won't boot to a full desktop

Greetings.

I’m in a bit of a pickle right now.

After having failed an update operation for Arch Linux (due to lacking storage), the KDE desktop crashed. Restarting my computer and logging in greeted me to a black screen with a cursor and some windows from already started up programs. I could launch the terminal with CTRL + ALT + T and some launch programs from there but nothing else.

When trying to run plasma using the command plasmashell, it gave me the following errors:

Locale not supported by C library. Using the fallback 'C' locale. OutputOrderWatcher may not work as expected. Reason: kde_output_order_v1 protocol is not available Couldn't start kglobalaccel from org.kde.kglobalaccel.service: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name is not activatable") layershellqt: Failed to initialize layer-shell integration, possibly because compositor does not support the layer-shell protocol QQmlComponent: Component is not ready kf.plasma.quick: "file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml" "Error loading QML file.\n118: Type DesktopEditMode unavailable\n87: Type PC.ToolButton unavailable\n9: module \"QtQuick.Templates\" is not installed\n" QQmlComponent: Component is not ready kf.plasma.quick: error when loading applet "org.kde.plasma.folder" QList("file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:310:39: Type ContainmentLayoutManager.BasicAppletContainer unavailable", "qrc:/qt/qml/org/kde/plasma/private/containmentlayoutmanager/BasicAppletContainer.qml:11:1: module \"QtQuick.Window\" is not installed") QQmlComponent: Component is not ready Containment graphic object not valid kscreen.kwayland: Connection to Wayland server timed out. kf.plasma.quick: "file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/applet/AppletError.qml" "Error loading QML file.\n9: module \"QtQuick.Window\" is not installed\n" layershellqt: Failed to initialize layer-shell integration, possibly because compositor does not support the layer-shell protocol QQmlComponent: Component is not ready kf.plasma.quick: "file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml" "Error loading QML file.\n8: module \"QtQuick.Window\" is not installed\n" QQmlComponent: Component is not ready kf.plasma.quick: error when loading applet "org.kde.panel" QList("file:///usr/share/plasma/plasmoids/org.kde.panel/contents/ui/main.qml:335:34: Type PC3.BusyIndicator unavailable", "qrc:/qt/qml/org/kde/plasma/components/BusyIndicator.qml:10:1: module \"QtQuick.Templates\" is not installed") QQmlComponent: Component is not ready Containment graphic object not valid qt.core.qobject.connect: QObject::connect(QObject, ConfigMonitor::Private): invalid nullptr parameter kf.plasma.quick: "file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/applet/AppletError.qml" "Error loading QML file.\n9: module \"QtQuick.Window\" is not installed\n"

Now I’ve tried uninstalling the plasma package using pacman -Rsc plasma, removing the cashed packages using pacman -Scc, and reinstalling it using pacman -S plasma to no avail. I’ve also updated the system using pacman -Syu.

If you know what can I do to get plasma working, hit me up!

Thank you and have a good day. :slight_smile:

Quoting the output:

module \"QtQuick.Templates\" is not installed")

Error loading QML file.\n9: module \"QtQuick.Window\" is not installed\n"

Check the packages concerned, it seem you are missing essential qt quick packages.

Did you reboot after finally upgrading ?

Yup, I had rebooted a couple of times after upgrading.

I just tried reinstalling qt5-base and qt6-base as I couldn’t find the specific packages mentioned in the error report, it didn’t change anything unfortunately.

I’m wondering if I can download the QtQuick packages separately. :thinking:

Try reinstalling qt6-declarative or one of kirigami’s dependencies Arch Linux - kirigami 6.14.1-1 (x86_64) or plasma-workspace Arch Linux - plasma-workspace 6.3.91-1 (x86_64)

Thank you!

Now since the plasma-workspace package came in the package group of plasma, it did get reinstalled a couple of times since I kept installing the whole package group rather than the individual packages.

After having reinstalled all the (none make) dependencies of kirigami, I tried to reinstall qt6-declarative and, it gave me errors about files already existing in the file system. I do not know how to force a reinstall with this.

...qt6-declarative: /usr/lib/qt6/qml/QtTest/plugins.qmltypes exists in filesystem
qt6-declarative: /usr/lib/qt6/qml/QtTest/qmldir exists in filesystem
qt6-declarative: /usr/lib/qt6/qml/QtTest/testlogger.js exists in filesystem
qt6-declarative: /usr/lib/qt6/qml/builtins.qmltypes exists in filesystem
qt6-declarative: /usr/lib/qt6/qml/jsroot.qmltypes exists in filesystem
qt6-declarative: /usr/lib/qt6/qmlaotstats exists in filesystem
qt6-declarative: /usr/lib/qt6/qmlcachegen exists in filesystem
qt6-declarative: /usr/lib/qt6/qmlimportscanner exists in filesystem
qt6-declarative: /usr/lib/qt6/qmljsrootgen exists in filesystem
qt6-declarative: /usr/lib/qt6/qmltyperegistrar exists in filesystem
qt6-declarative: /usr/lib/qt6/sbom/qtdeclarative-6.9.1.spdx exists in filesystem
qt6-declarative: /usr/share/licenses/qt6-declarative exists in filesystem
Errors occurred, no packages were upgraded.

Greetings!

I’m happy to report that Plasma is now working!

I was able to reinstall qt6-declarative using this command sudo pacman -S --overwrite \* qt6-declarative. Note the --overwrite option which I had no idea existed until a quick search.

Thank you @meven for guiding me towards the right packages! :heart:

(ps: Do I need to mark this post as resolved and if so, how do I do that?)

2 Likes