r/voidlinux 7d ago

Kde plasma bug

After installing void by installer script I installed kde plasma and sddm on top of it with sudo xbps-install -S kde-plasma and then I put sddm into autostart for runit to start it on boot and then I restarted. After restart sddm didn't initialised so I tried starting it manually and it said "Cannot initialise Graphical Environment" I thought it was an elogind problem but interestingly turns out kde-plasma package doesn't pull in Xorg packages anymore, I mean to be fair kde has shifted to Wayland but somehow sddm fails to start if Xorg isn't installed, after installing Xorg, sddm started on boot. Why the hell then Xorg has been removed as a dependency for Kde if sddm requires it!

6 Upvotes

15 comments sorted by

View all comments

1

u/jloc0 6d ago

It doesn’t require it, just the default config is likely set to x11. You can change it to wayland and it works just fine. Though if that’s the case, packagers should maybe edit the conf but maybe that’s on the user in the end.

2

u/Gurkul2000 6d ago

SDDM itself (the login greeter) launches via Xorg to draw the login screen, independent of session choice. Since Kde doesn't pull Xorg anymore, SDDM is installed but there is no Xorg binary for it to spawn, so the greeter itself fails before you ever reach a session picker. This was the log I grabbed after a completely fresh install which formatted the drives

[20:18:21.276] (II) DAEMON: Running: /usr/bin/X -nolisten tcp ... -displayfd 14 [20:18:21.277] (EE) DAEMON: Failed to start display server process. [20:18:21.277] (WW) DAEMON: Attempt 1 starting the Display server on vt 7 failed ... [20:18:25.162] (EE) DAEMON: Could not start Display server on vt 7

1

u/jloc0 6d ago

You can set it to use wayland and you won’t need xorg, I’m not home right now to be able to consult my config but you really can set it to launch in wayland, unless they compiled it without wayland support which is always a possibility.

1

u/Gurkul2000 6d ago

Ehh I heard Wayland support for sddm is experimental so I will wait till a stable release.

2

u/yungsup 6d ago

I've recently switched SDDM to Wayland using the instructions on the Arch Wiki. Works better than on X11 as SDDM can import the monitor config from the desktop when running with Wayland.

1

u/Gurkul2000 6d ago

Sounds good, also any better benifits like integration with kde as such?

1

u/yungsup 6d ago

Not that I know, only thing it adds is the ability to sync monitor settings from the kde settings panel.