Trying to run KDE 6 Plasma with Wayland....

I tried with lightdm. It wasn't wanting to log in at all. I didn't try with .xinitrc script. But none of the Wayland launchers wanted to work with lightdm for some reason.
C'mon fellas, I do not use Wayland nor I'll want to, ever!
But, you'll need greeter .desktop file into ../lightdm/greeters with a X-LightDM-Session-Type=wayland line.

At least, that works for Linux folks.
Try it.
 
One way to work around this Ctrl-C bug has been described very well in this post:

Re-posting this here, because it's relevant.

Would be nice to see the SDDM bug resolved, rather than employ a hacky workaround. This being FreeBSD, however.... it would not surprise me to see those directions make their way into User Handbook at this point.
 
Based on comments I was seeing in the Bugzilla ticket that Andriy linked to, it looks like SDDM is a culprit in changing the keyboard mappings, which in turn messes things up in a KDE Wayland session.

And those comments are very recent - from the past week!

Good to know that x11/lightdm is a workable alternative when I do my next round of compiling my way into Plasma Wayland, I'll keep that in mind.

Hopefully this last mile will get covered before the December release of FreeBSD 15!
 
Interesting bit of info from SDDM's Github page:

Distributions without pam and systemd will need to put the "sddm" user into the "video" group, otherwise errors regarding GL and drm devices might be experienced.

If there is a special user sddm on a FreeBSD system, this might help things... This was not verified yet, would be nice if someone could verify that.
 
I was unable to get x11/lightdm working, either... even after doing some research.

I tried to use x11-wm/slim, but that was a no go, either.

Tried to do some research on what an alternative graphical greeter might be for KDE Wayland... by googling the term wayland-compatible greeters. And that last mile is probably the hardest one.

Long story short, we may be stuck with accepting Rust into this venture. That's because the vast majority of graphical greeters that I found - they are written primarily in Rust. There is quite a few of them. But most of them are NOT in FreeBSD ports, unfortunately. And virtually all of them are frontends to greetd - which is written in Rust. Well, greetd is basically a login manager / daemon that itself is a frontend to login(1).

I did manage to verify the Ctrl-C bug on my end of things. And yeah, while I have Plasma 6.4.0 (yeah, I haven't touched my stuff since then, so an update is really in order), the Ctrl-C bug is really problematic. Not only Kate crashes along with the session (as demonstrated by LibreQuest ), it's also problematic when I try to use that same keyboard shortcut in editors/nano in Konsole! I get the same crash.

I have to wonder what will come first - solving the Ctrl-C bug in SDDM or porting a few greeters to FreeBSD. I think that both do need to happen. Which one is easier - I have no idea, I'm not a programmer.

But yeah, right now, we're stuck launching Plasma Wayland from command-line vty. Using SDDM triggers the Ctrl-C bug, and there's nothing workable in Ports that can serve as an alternative to SDDM to launch Plasma Wayland. If somebody can show otherwise, please post here with a description of how that was accomplished!
 
Well, I checked back on the FreeBSD bugzilla ticket over the SDDM / Ctrl-C bug... and oh, yeah, the issue is getting attention, so there's a good chance it'll get resolved. Ctrl-C is not the only control character sequence for the devs to worry about, apparently - there's also Ctrl-Z, and a ton of others.

KDE does have a ton of keyboard shortcuts, a lot of them are configurable, and of course it would be a major showstopper if some of those keyboard shortcuts crash a Plasma Wayland session! I see a lot of interest in getting that bug solved.
 
Following PR 286592 (that Andriy alerted us to a few days ago) is proving fruitful - just today, the devs have tested a patch for x11/sddm that seems to resolve that Ctrl-C bug. At this point, I think it's a matter of seeing when it makes it into the Ports Collection.

As a side note - what I said about porting other graphical Wayland-compatible greeters - that path is still open. Just feels a bit less urgent now, thanks to SDDM patching making progress.

👏🎉
 
Back
Top