You are not logged in.
starting today, I can no longer login to a desktop, all I get is a black screen and a cursor. Earlier I was using plasma and before that cinnamon.
I'm currently using light-dm (but have tried sddm with the same results) and can no longer log in to either desktop environment.
lightdm conf:
[LightDM]
log-directory=/var/log/lightdm
run-directory=/run/lightdm
[Seat:*]
pam-service=lightdm-autologin
pam-autologin-service=lightdm-autologin
pam-greeter-service=lightdm-greeter
-session=
session-wrapper=/etc/lightdm/Xsession
autologin-guest=false
autologin-user=<myuser>
autologin-user-timeout=0
autologin-in-background=false
autologin-session=
when I try to manually start plasma from an ssh connection I get a plasma loading screen then back to the black desktop with a cursor:
startplasma-wayland
Initializing "/usr/lib/qt6/plugins/plasma/kcms/systemsettings/kcm_mouse.so"
kcm_mouse: Error on receiving device list from KWin.
Initializing "/usr/lib/qt6/plugins/plasma/kcms/systemsettings/kcm_style.so"
/usr/bin/xrdb: Can't open display ''
/usr/bin/xsetroot: unable to open display ''
Initializing "/usr/lib/qt6/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
org.kde.plasma.session: process job "kcminit_startup" finished with exit code 0
kf.coreaddons: The plugin "/usr/lib/qt6/plugins/kaccounts/daemonplugins/gdrive.so" explicitly states an Id in the embedded metadata, which is different from the one derived from the filename The Id field from the KPlugin object in the metadata should be removed
(process:1237): dconf-WARNING **: 17:52:27.672: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not activate remote peer 'ca.desrt.dconf': unit failed
(process:1237): dconf-WARNING **: 17:52:27.673: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not activate remote peer 'ca.desrt.dconf': unit failed
(process:1237): dconf-WARNING **: 17:52:27.673: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not activate remote peer 'ca.desrt.dconf': unit failed
(process:1237): dconf-WARNING **: 17:52:27.673: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not activate remote peer 'ca.desrt.dconf': unit failed
(process:1237): dconf-WARNING **: 17:52:27.674: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not activate remote peer 'ca.desrt.dconf': unit failed
(process:1237): dconf-WARNING **: 17:52:27.674: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not activate remote peer 'ca.desrt.dconf': unit failed
(process:1237): dconf-WARNING **: 17:52:27.674: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not activate remote peer 'ca.desrt.dconf': unit failed
(process:1237): dconf-WARNING **: 17:52:27.715: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not activate remote peer 'ca.desrt.dconf': unit failed
(process:1237): dconf-WARNING **: 17:52:27.715: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not activate remote peer 'ca.desrt.dconf': unit failed
(process:1237): dconf-WARNING **: 17:52:27.715: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not activate remote peer 'ca.desrt.dconf': unit failed
(process:1237): dconf-WARNING **: 17:52:27.716: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not activate remote peer 'ca.desrt.dconf': unit failed
org.kde.colorcorrectlocationupdater: Geolocator stopped
org.kde.kameleon: found no RGB LED devices
colord: X11 not detect disabling
org.kde.libkbolt: Failed to connect to Bolt manager DBus interface:
org.kde.bolt.kded: Couldn't connect to Bolt DBus daemon
QDBusObjectPath: invalid path "/modules/plasma-session-shortcuts"
kf.dbusaddons: The kded module name "plasma-session-shortcuts" is invalid!
org.kde.plasma.printmanager.kded: unable to register service to dbus
QDBusObjectPath: invalid path "/modules/kded_plasma-welcome"
kf.dbusaddons: The kded module name "kded_plasma-welcome" is invalid!
kf.modemmanagerqt: Failed enumerating MM objects: "org.freedesktop.DBus.Error.NameHasNoOwner"
"Could not activate remote peer 'org.freedesktop.ModemManager1': activation request failed: unknown unit"
kf.bluezqt: PendingCall Error: "The name is not activatable"
xsettingsd: Loaded 15 settings from /home/<myuser>/.config/xsettingsd/xsettingsd.conf
xsettingsd: Unable to open connection to X server
qt.qpa.wayland: eglSwapBuffers failed with 0x300d, surface: 0x0
qt.qpa.wayland: eglSwapBuffers failed with 0x300d, surface: 0x0
full output of journalctl -b: https://pastebin.com/ak5g8v1Z
kernel 6.11.6
plasma desktop 6.2.3-1
lightdm 1:1.32.0-6
Last edited by broms (2024-11-14 14:39:12)
Offline
Nov 12 17:25:16 <myhost> kwin_wayland[836]: No backend specified, automatically choosing drm
Can you log into an X11 session?
Nov 12 17:25:15 <myhost> dbus-broker-launch[798]: Ready
Nov 12 17:25:15 <myhost> dbus-broker[799]: A security policy denied org.freedesktop.systemd1 to receive method call /org/freedesktop/systemd1:org.freedesktop.systemd1.Manager.Subscribe from :1.2.
Nov 12 17:25:15 <myhost> dbus-broker[799]: A security policy denied org.freedesktop.systemd1 to receive method call /org/freedesktop/systemd1:org.freedesktop.systemd1.Manager.SetEnvironment from :1.2.
Nov 12 17:25:15 <myhost> dbus-broker-launch[798]: Updating activation environment failed.
Nov 12 17:25:16 <myhost> dbus-broker[799]: A security policy denied org.freedesktop.systemd1 to receive method call /org/freedesktop/systemd1:org.freedesktop.DBus.Properties.Get from :1.5.
Nov 12 17:25:16 <myhost> dbus-broker[799]: A security policy denied org.freedesktop.systemd1 to receive method call /org/freedesktop/systemd1:org.freedesktop.DBus.Properties.Get from :1.5.
Nov 12 17:25:16 <myhost> dbus-broker[799]: A security policy denied org.freedesktop.systemd1 to receive method call /org/freedesktop/systemd1:org.freedesktop.systemd1.Manager.SetEnvironment from :1.5.
Nov 12 17:25:16 <myhost> dbus-broker[799]: A security policy denied org.freedesktop.systemd1 to receive method call /org/freedesktop/systemd1:org.freedesktop.systemd1.Manager.SetEnvironment from :1.2.
Nov 12 17:25:16 <myhost> dbus-broker-launch[798]: Updating activation environment failed.
Nov 12 17:25:16 <myhost> dbus-broker[799]: A security policy denied org.freedesktop.systemd1 to receive method call /org/freedesktop/systemd1:org.freedesktop.DBus.Properties.Get from :1.5.
Nov 12 17:25:16 <myhost> dbus-broker[799]: A security policy denied org.freedesktop.systemd1 to receive method call /org/freedesktop/systemd1:org.freedesktop.systemd1.Manager.ResetFailed from :1.5.
Nov 12 17:25:16 <myhost> dbus-broker[799]: A security policy denied org.freedesktop.systemd1 to receive method call /org/freedesktop/systemd1:org.freedesktop.systemd1.Manager.Reload from :1.5.
Nov 12 17:25:16 <myhost> dbus-broker[799]: A security policy denied org.freedesktop.systemd1 to receive method call /org/freedesktop/systemd1:org.freedesktop.systemd1.Manager.LoadUnit from :1.2.
Nov 12 17:25:16 <myhost> dbus-broker[799]: A security policy denied org.freedesktop.systemd1 to receive method call /org/freedesktop/systemd1:org.freedesktop.systemd1.Manager.ListUnitFilesByPatterns from :1.5.
Nov 12 17:25:16 <myhost> dbus-broker[799]: A security policy denied org.kde.Startup to receive method call /Startup:org.kde.Startup.updateLaunchEnv from :1.7.
Nov 12 17:25:16 <myhost> dbus-broker[799]: A security policy denied org.kde.Startup to receive method call /Startup:org.kde.Startup.updateLaunchEnv from :1.7.
Nov 12 17:25:16 <myhost> dbus-broker[799]: A security policy denied org.kde.Startup to receive method call /Startup:org.kde.Startup.updateLaunchEnv from :1.7.
Nov 12 17:25:16 <myhost> dbus-broker[799]: A security policy denied org.freedesktop.systemd1 to receive method call /org/freedesktop/systemd1:org.freedesktop.systemd1.Manager.SetEnvironment from :1.7.
Nov 12 17:25:16 <myhost> dbus-broker[799]: A security policy denied org.freedesktop.systemd1 to receive method call /org/freedesktop/systemd1:org.freedesktop.systemd1.Manager.SetEnvironment from :1.2.
Nov 12 17:25:16 <myhost> dbus-broker-launch[798]: Updating activation environment failed.
Also skip the autologin?
Offline
Choosing Plasma (X11) loads the same but then the cursor disappears and the screen is entirely black.
with this error:
Nov 13 11:03:55 <myhost> systemd[1]: Started Process Core Dump (PID 964/UID 0).
Nov 13 11:03:55 <myhost> systemd[1]: Started Pass systemd-coredump journal entries to relevant user for potential DrKonqi handling.
Nov 13 11:03:55 <myhost> kded6[868]: colord: Failed to register device: "device id 'xrandr-Samsung Electric Company-SAMSUNG' already exists"
Nov 13 11:03:55 <myhost> kded6[868]: colord: Found colord device "/org/freedesktop/ColorManager/devices/xrandr_Samsung_Electric_Company_SAMSUNG_<myuser>_1000"
Nov 13 11:03:55 <myhost> kded6[868]: colord: Found EDID profile for device "/org/freedesktop/ColorManager/profiles/icc_0edd9cb88ba6f5474ff509e12a72a2ca_<myuser>_1000" "HDMI-A-0"
Nov 13 11:03:55 <myhost> kded6[868]: colord: Device changed "/org/freedesktop/ColorManager/devices/xrandr_Samsung_Electric_Company_SAMSUNG_<myuser>_1000"
Nov 13 11:03:55 <myhost> kded6[868]: colord: profileDefault "/org/freedesktop/ColorManager/profiles/icc_0edd9cb88ba6f5474ff509e12a72a2ca_<myuser>_1000"
Nov 13 11:03:55 <myhost> kded6[868]: colord: Default Profile Filename "HDMI-A-0" "/home/<myuser>/.local/share/icc/edid-e614f07874a7f5462c362aa133638787.icc"
Nov 13 11:03:55 <myhost> kded6[868]: colord: Profile does not have any VCGT data, reseting "HDMI-A-0" "/home/<myuser>/.local/share/icc/edid-e614f07874a7f5462c362aa133638787.icc"
Nov 13 11:03:55 <myhost> kded6[868]: colord: Primary CRTC is at CRTC 0
Nov 13 11:03:55 <myhost> kded6[868]: colord: CRTC for CRTC 1 has no mode or no output, skipping
Nov 13 11:03:55 <myhost> kded6[868]: colord: CRTC for CRTC 2 has no mode or no output, skipping
Nov 13 11:03:55 <myhost> kded6[868]: colord: CRTC for CRTC 3 has no mode or no output, skipping
Nov 13 11:03:55 <myhost> kded6[868]: colord: Setting X atom (id: 0 ) "_ICC_PROFILE" on output: "HDMI-A-0"
Nov 13 11:03:55 <myhost> kded6[868]: colord: EDID ICC Profile already exists "/home/<myuser>/.local/share/icc/edid-e614f07874a7f5462c362aa133638787.icc"
Nov 13 11:03:55 <myhost> systemd-coredump[965]: [?] Process 960 (smartctl) of user 0 dumped core.
Stack trace of thread 960:
#0 0x0000777cbdca53f4 n/a (libc.so.6 + 0x963f4)
#1 0x0000777cbdc4c120 raise (libc.so.6 + 0x3d120)
#2 0x0000777cbdc334c3 abort (libc.so.6 + 0x244c3)
#3 0x0000777cbdc34354 n/a (libc.so.6 + 0x25354)
#4 0x0000777cbdcaf765 n/a (libc.so.6 + 0xa0765)
#5 0x0000777cbdcb1c4c n/a (libc.so.6 + 0xa2c4c)
#6 0x0000777cbdcb45ce __libc_free (libc.so.6 + 0xa55ce)
#7 0x000055d4bb6d18d2 n/a (smartctl + 0x448d2)
#8 0x0000777cbdc4e891 n/a (libc.so.6 + 0x3f891)
#9 0x0000777cbdc4e95e exit (libc.so.6 + 0x3f95e)
#10 0x0000777cbdc34e0f n/a (libc.so.6 + 0x25e0f)
#11 0x0000777cbdc34ecc __libc_start_main (libc.so.6 + 0x25ecc)
#12 0x000055d4bb699af5 n/a (smartctl + 0xcaf5)
ELF object binary architecture: AMD x86-64
Nov 13 11:03:55 <myhost> systemd[1]: systemd-coredump@0-964-0.service: Deactivated successfully.
using Plasma (X11) post-login journalctl -b: https://pastebin.com/ykpqiUY8
startx over ssh also fails:
/usr/lib/Xorg.wrap: Only console users are allowed to run the X server
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
Couldn't get a file descriptor referring to the console.
removing all autologin lines from lightdm.conf results in the same black screeen + cursor when selecting Plasma (Wayland) and
still getting
Nov 13 11:15:09 <myhost> dbus-broker[793]: A security policy denied org.freedesktop.systemd1 to receive method call /org/freedesktop/systemd1:org.freedesktop.systemd1.Manager.SetEnvironment from :1.2.
Nov 13 11:15:09 <myhost> dbus-broker-launch[791]: Updating activation environment failed.
no autologin, Plasma (Wayland): full journalctl -b: https://pastebin.com/Uhvm5xcZ
Offline
Sidebar, you've NM and networkd enabled => disable systemd-networkd.
The only trace of a KDE session is
Nov 13 11:15:10 <myhost> kwin_wayland[816]: No backend specified, automatically choosing drm
Can you log into plasma w/ a fresh user?
pacman -Qikk plasma-workspace
(therere those ugly smartclt aborts, but I'm not sure what to make out of them…
Offline
pacman -Qikk plasma-workspace
Name : plasma-workspace
Version : 6.2.3-1
Description : KDE Plasma Workspace
Architecture : x86_64
URL : https://kde.org/plasma-desktop/
Licenses : LGPL-2.0-or-later
Groups : plasma
Provides : None
Depends On : accountsservice appstream-qt dbus fontconfig freetype2
gcc-libs glibc icu kactivitymanagerd karchive kauth
kbookmarks kcmutils kcolorscheme kcompletion kconfig
kconfigwidgets kcoreaddons kcrash kde-cli-tools
kdeclarative kded kdbusaddons kglobalaccel kguiaddons
kholidays ki18n kiconthemes kidletime kio kio-extras
kio-fuse kirigami kirigami-addons kitemmodels kjobwidgets
knewstuff knotifications knotifyconfig kpackage kparts
kpipewire krunner kquickcharts kscreenlocker kservice
kstatusnotifieritem ksvg ksystemstats ktexteditor
ktextwidgets kunitconversion kuserfeedback kwallet
kwayland kwidgetsaddons kwin kwindowsystem kxmlgui
layer-shell-qt libcanberra libice libkexiv2 libksysguard
libplasma libqalculate libsm libx11 libxau libxcb
libxcrypt libxcursor libxfixes libxft libxtst milou
ocean-sound-theme phonon-qt6 plasma-activities
plasma-activities-stats plasma5support prison qt6-5compat
qt6-base qt6-declarative qt6-positioning qt6-svg
qt6-tools qt6-virtualkeyboard qt6-wayland sh solid
systemd-libs wayland xcb-util xcb-util-image
xorg-xmessage xorg-xrdb xorg-xsetroot xorg-xwayland zlib
plasma-integration
Optional Deps : appmenu-gtk-module: global menu support for GTK2 and some GTK3
applications
baloo: Baloo search runner [installed]
discover: manage applications installation from the launcher
[installed]
gpsd: GPS based geolocation
kdepim-addons: displaying PIM events in the calendar
[installed]
kwayland-integration: Wayland integration for Qt5 applications
networkmanager-qt: IP based geolocation [installed]
plasma-workspace-wallpapers: additional wallpapers [installed]
plasma5-integration: use Plasma settings in Qt5 applications
xdg-desktop-portal-gtk: sync font settings to Flatpak apps
Required By : kdeplasma-addons plasma-browser-integration plasma-desktop
plasma-nm plasma-pa plasma-vault powerdevil
xdg-desktop-portal-kde
Optional For : None
Conflicts With : plasma-wayland-session
Replaces : plasma-wayland-session
Installed Size : 54.53 MiB
Packager : Tomaz Canabrava <tcanabrava@archlinux.org>
Build Date : Tue 05 Nov 2024 01:32:56 PM EST
Install Date : Fri 08 Nov 2024 08:11:16 PM EST
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature
plasma-workspace: 6916 total files, 0 altered files
fresh user login results in the same black desktop with cursor.
journalctl -b: https://pastebin.com/CgpDMd0F
several hundred lines of this error:
Nov 13 17:09:52 <myhost> kwin_wayland[805]: No QSGTexture provided from updateSampledImage(). This is wrong.
Offline
Nov 13 17:09:40 <myhost> startplasma-wayland[765]: QIODevice::readLine (QFile, "/home/<mynewuser>/.config/kdedefaults/package"): device not open
Nov 13 17:09:40 <myhost> startplasma-wayland[765]: QPixmap: QGuiApplication must be created before calling defaultDepth().
Nov 13 17:09:40 <myhost> startplasma-wayland[765]: QPixmap: QGuiApplication must be created before calling defaultDepth().
…
Nov 13 17:09:52 <myhost> kwin_wayland[805]: No QSGTexture provided from updateSampledImage(). This is wrong.
Nov 13 17:09:52 <myhost> kwin_wayland[805]: No QSGTexture provided from updateSampledImage(). This is wrong.
Nov 13 17:09:52 <myhost> kwin_wayland[805]: No QSGTexture provided from updateSampledImage(). This is wrong.
…
Can you start a KDE/X11 session w/ the new user (and what does the journal look like)?
If not, can you switch to a different VT or ssh in and "DISPLAY=:0 startplasma-x11" there?
Sanity check: "black screen with cursor" refers to a mouse cursor or a blinking underscore?
Offline
Signing in with the fresh user to plasma (x11) session resulted in the KDE welcome dialogs popping up. After progressing through them, I'm returned to the black screen with the mouse cursor. It's always a mouse cursor (I probably should have said pointer in my OP)--it's like the desktop is loaded but there's nothing there and no interactivity. When using wayland, hot corners work, so I'm able to add virtual desktops. With X11 I can do nothing.
journalctl -b: https://pastebin.com/cJEtHnKw
DISPLAY=:0 startplasma-x11
Authorization required, but no authorization protocol specified
$DISPLAY is not set or cannot connect to the X server.
and the black screen with mouse cursor remains.
Offline
Authorization required, but no authorization protocol specified
Did you log in as the same user that failed to run the GUI session?
Couldn't start kglobalaccel from org.kde.kglobalaccel.service: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name is not activatable")
'key - *something* is broken on the installation.
sudo LC_ALL=C pacman -Qkk | grep -v ', 0 altered files' | grep -v backup
Offline
Thank you so much.
I must have made breaking edits to the dbus session.conf file. I restored it from another installation and everything works as expected again.
Really appreciate your help.
Offline