Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 915483 - x11-misc/sddm: SDDM is only run under the root X11 user.
Summary: x11-misc/sddm: SDDM is only run under the root X11 user.
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal minor (vote)
Assignee: LxQt maintainers
URL: https://man.archlinux.org/man/sddm.co...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-09 14:26 UTC by Benjamín P
Modified: 2024-07-01 10:25 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamín P 2023-10-09 14:26:25 UTC
It would be great if SDDM could run under wayland. Documentation of SDDM says, that SDDM is abble to run under wayland. It's a little inappropriate to run Xorg to run wayland session. It would be great if x11-misc/sddm had USE flag, which can change default configuration to run SDDM under (for example) kwin compositor. 

If this is not possible, it would be a good idea to run SDDM under X11 without root privileges. This way is for sure stable.
Comment 1 Andreas Sturmlechner gentoo-dev 2023-10-10 09:08:42 UTC
It is experimental and broken for every second user trying to use it.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-21 16:10:52 UTC
https://github.com/gentoo/qt/pull/267 was where we did some WIP on it, just for completeness.
Comment 3 Niklāvs Koļesņikovs 2024-06-30 16:29:35 UTC
One of the reasons for SDDM Wayland backend currently failing to work is bug 935166. And prior to 0.21.0 it would have required weston[fullscreen] instead, dependency on which was likewise not enforced by the old ebuild for 0.18 or 0.20 series either.

Once the correct dependency on dev-libs/weston with the appropriate shell is enforced, it's very likely that SDDM will work reliably with the Wayland backend, since ultimately it's using much of the same graphical stack that most of the still widely used Xorg DDX do (at least with Intel and AMD graphics that I'm familiar with). I expect enabling the Wayland backend by default is not going to be far away. And, unless I'm mistaken, other Plasma 6 distros such as Arch Linux already do use Qt6 SDDM with the Wayland backend as the default.
Comment 4 Niklāvs Koļesņikovs 2024-07-01 10:25:27 UTC
I just realized that the Arch system without xorg-server also lacks sddm, so they likely have not migrated their package to Wayland backend by default. Sorry for that bit of misinformation previously.