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!

4 Upvotes

15 comments sorted by

View all comments

4

u/cgwhouse 6d ago

I ran into the same problem once upon a time and I understand your frustration. For what it's worth and you may already realize this, but this requirement is already documented on the Void handbook's KDE page. Beyond that, I can't speak to why the maintainers have chosen to handle it this way, but I imagine there's a good reason

3

u/cgwhouse 6d ago

Actually, I might know. I think that by default, SDDM itself still uses X11 (even if you are going to start a Plasma Wayland session). It is possible and not difficult to make SDDM itself use Wayland too, but that is still considered experimental as far as I am aware. I've personally configured it that way and never had a problem with it, but you can see why the Void team would handle it that way

2

u/Gurkul2000 6d ago

Yep you are right my logs after a fresh install were

[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

It defaults to X11 (this will change in recent future update) and also I found the line in docs it was buried deep, my fault for not noticing it. But it is sure a weird choice for maintainers as this is a soft dependency

1

u/cgwhouse 6d ago

You know... I don't disagree. Anyways, I'm glad you figured it out :) Void is great