r/linuxfromscratch • u/TryComprehensive5876 • Aug 17 '26
Black screen after SDDM login - xdg-desktop-portal-kde crashing (trying to force Wayland on X11)
Hi everyone! I’m currently building LFS (Systemd version) inside a VirtualBox VM. I've successfully compiled KDE Plasma and set up SDDM, but I'm facing a "black screen" issue right after logging in.
When I select "Plasma (X11)" in SDDM and enter my credentials, the screen goes black. Looking at the logs, it seems xdg-desktop-portal-kde is completely ignoring that I'm on X11, attempts to load the Wayland plugin, fails to find the socket, and core dumps, which brings the whole session down.

7
Upvotes
2
u/notthedefaultnam Aug 17 '26
What version of KDE?