KDE logs in to a black screen with mouse

Recently did an system update after after a reboot and logging into SDDM I have nothing but a black screen with mouse.

I can open a terminal (CTRL+SHIFT+T) and do things, but can’t get KDE Plasma 6 to run. Tested with a newly created user with no avail, had tried reinstalling all packages that I could think of being relavent for Plasma, Qt6, libxcb, etc…

Looking to see if there is a fix I can try before I nuke the system and start fresh as my last resort.

Thanks.

Trying to run plasmashell I get:

qt.core.plugin.factoryloader: checking directory path "/usr/plugins/platforms" ...
qt.core.plugin.factoryloader: looking at "/usr/plugins/platforms/libqxcb.so"
qt.core.plugin.loader: Found metadata in lib /usr/plugins/platforms/libqxcb.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "xcb"
        ]
    },
    "archlevel": 1,
    "className": "QXcbIntegrationPlugin",
    "debug": false,
    "version": 395008
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("xcb")
qt.core.plugin.factoryloader: checking directory path "/usr/bin/platforms" ...
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
qt.core.library: "/usr/plugins/platforms/libqxcb.so" loaded library
qt.core.plugin.factoryloader: checking directory path "/usr/plugins/platformthemes" ...
qt.core.plugin.factoryloader: checking directory path "/usr/bin/platformthemes" ...
qt.core.plugin.factoryloader: checking directory path "/usr/plugins/platforminputcontexts" ...
qt.core.plugin.factoryloader: checking directory path "/usr/bin/platforminputcontexts" ...
qt.core.plugin.factoryloader: checking directory path "/usr/plugins/iconengines" ...
qt.core.plugin.factoryloader: looking at "/usr/plugins/iconengines/libqsvgicon.so"
qt.core.plugin.loader: Found metadata in lib /usr/plugins/iconengines/libqsvgicon.so, metadata=
{
    "IID": "org.qt-project.Qt.QIconEngineFactoryInterface",
    "MetaData": {
        "Keys": [
            "svg",
            "svgz",
            "svg.gz"
        ]
    },
    "archlevel": 1,
    "className": "QSvgIconPlugin",
    "debug": false,
    "version": 395008
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("svg", "svgz", "svg.gz")
qt.core.plugin.factoryloader: checking directory path "/usr/bin/iconengines" ...
qt.core.plugin.factoryloader: checking directory path "/usr/plugins/xcbglintegrations" ...
qt.core.plugin.factoryloader: looking at "/usr/plugins/xcbglintegrations/libqxcb-egl-integration.so"
qt.core.plugin.loader: Found metadata in lib /usr/plugins/xcbglintegrations/libqxcb-egl-integration.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.Xcb.QXcbGlIntegrationFactoryInterface.5.5",
    "MetaData": {
        "Keys": [
            "xcb_egl"
        ]
    },
    "archlevel": 1,
    "className": "QXcbEglIntegrationPlugin",
    "debug": false,
    "version": 395008
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("xcb_egl")
qt.core.plugin.factoryloader: looking at "/usr/plugins/xcbglintegrations/libqxcb-glx-integration.so"
qt.core.plugin.loader: Found metadata in lib /usr/plugins/xcbglintegrations/libqxcb-glx-integration.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.Xcb.QXcbGlIntegrationFactoryInterface.5.5",
    "MetaData": {
        "Keys": [
            "xcb_glx"
        ]
    },
    "archlevel": 1,
    "className": "QXcbGlxIntegrationPlugin",
    "debug": false,
    "version": 395008
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("xcb_glx")
qt.core.plugin.factoryloader: checking directory path "/usr/bin/xcbglintegrations" ...
qt.core.library: "/usr/plugins/xcbglintegrations/libqxcb-glx-integration.so" loaded library
qt.core.plugin.factoryloader: checking directory path "/usr/plugins/styles" ...
qt.core.plugin.factoryloader: checking directory path "/usr/bin/styles" ...
qt.core.plugin.loader: Trying... "/usr/bin/kf6/packagestructure/plasma_lookandfeel"
qt.core.plugin.loader: Trying... "/usr/bin/kf6/packagestructure/plasma_lookandfeel.so"
qt.core.plugin.loader: Trying... "/usr/bin/kf6/packagestructure/libplasma_lookandfeel"
qt.core.plugin.loader: Trying... "/usr/bin/kf6/packagestructure/libplasma_lookandfeel.so"
qt.core.plugin.loader: "/usr/bin/kf6/packagestructure/plasma_lookandfeel" not found
qt.core.plugin.loader: Trying... "/usr/plugins/kf6/packagestructure/plasma_lookandfeel"
qt.core.plugin.loader: Trying... "/usr/plugins/kf6/packagestructure/plasma_lookandfeel.so"
qt.core.plugin.loader: Trying... "/usr/plugins/kf6/packagestructure/libplasma_lookandfeel"
qt.core.plugin.loader: Trying... "/usr/plugins/kf6/packagestructure/libplasma_lookandfeel.so"
qt.core.plugin.loader: "kf6/packagestructure/plasma_lookandfeel" not found
kf.package: Invalid metadata for package structure "Plasma/LookAndFeel"
qt.core.plugin.loader: Trying... "/usr/bin/kf6/packagestructure/plasma_shell"
qt.core.plugin.loader: Trying... "/usr/bin/kf6/packagestructure/plasma_shell.so"
qt.core.plugin.loader: Trying... "/usr/bin/kf6/packagestructure/libplasma_shell"
qt.core.plugin.loader: Trying... "/usr/bin/kf6/packagestructure/libplasma_shell.so"
qt.core.plugin.loader: "/usr/bin/kf6/packagestructure/plasma_shell" not found
qt.core.plugin.loader: Trying... "/usr/plugins/kf6/packagestructure/plasma_shell"
qt.core.plugin.loader: Trying... "/usr/plugins/kf6/packagestructure/plasma_shell.so"
qt.core.plugin.loader: Trying... "/usr/plugins/kf6/packagestructure/libplasma_shell"
qt.core.plugin.loader: Trying... "/usr/plugins/kf6/packagestructure/libplasma_shell.so"
qt.core.plugin.loader: "kf6/packagestructure/plasma_shell" not found
kf.package: Invalid metadata for package structure "Plasma/Shell"
kf.package: Cannot set a path in a package without structure "org.kde.plasma.desktop"
kf.windowsystem: Could not find any platform plugin
starting invalid corona "org.kde.plasma.desktop"
"/usr/plugins/platforms/libqxcb.so" unloaded library 
"/usr/plugins/xcbglintegrations/libqxcb-glx-integration.so" unloaded library 

copy of sudo journalctl -b 0: https://0x0.st/XKi7.txt

Hello, I left my message for you as a draft and forgot to post it earlier. Sorry.

Anyway, have you maybe performed a partial update? Lots of strange stuff in your log.

KDE fails to start because of this
May 11 14:40:18 Scott-PC system[1166]: Starting KDE Daemon 6...
...
May 11 14:40:18 Scott-PC kwalletd6[1189]: qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
May 11 14:40:18 Scott-PC kded6[1331]: qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
May 11 14:40:18 Scott-PC kded6[1331]: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

And then kded6 dumps core.

The weird thing is that you are also using a lot of KDE5/Qt5 plugins. Try reinstalling qt6-wayland

yay -S qt6-wayland

But I am not sure it will fix the issue. Have you tried running x11 session?

The other thing, starting plasma from tty is done with startplasma-* and not with plasmashell.

Switch to another TTY, ie Ctrl+Alt+F4 and then run startplasma-wayland or startplasma-x11 for wayland or Xorg session.

Tried reinstalling qt6-wayland which did not resolve the issue, neither did the update with yay -Syu which brought in the kde 6.2 packages.

I was running plasmashell from Konsole inside the environment that I got logged into, but from another TTY neither wayland or x11 worked as well, had already tried an x11 session before I created the new user to test as well. Was still getting the errors centralizing around:

qt.core.plugin.loader: "kf6/packagestructure/plasma_lookandfeel" not found
kf.package: Invalid metadata for package structure "Plasma/LookAndFeel"

Decided since there was a lot of KDE5/QT5 stuff hanging around, as well as probably good time for it, I would just go ahead and reformat the system. So I am not sure what caused the issue or the fix.

1 Like