19

Anyone knows how to properly start a multiseat wayland with a desktop environment or window manager running?

I just need simple stuff such as profile initialization of the user and if it's possible to just share the same discrete GPU across multiple seats?

The end result? I want to isolate my current user space from the gaming space where I can just connect using moonlight/sunshine. I want it all headless.

#linux #linuxgaming #wayland #x11 @linux_gaming

you are viewing a single comment's thread
view the rest of the comments
[-] Max_P@lemmy.max-p.me 4 points 8 months ago

The problem there is really getting a compositor to run. By the time you have something to set WAYLAND_DISPLAY to, you already have solved the problem because you have a headless compositor running.

I did a little bit more research, and it seems at least wlroots compositors (Sway, Hyprland, Gamescope) do support headless with WLR_BACKENDS=headless (from this Reddit thread). Kwin apparently has a --virtual flag. Now I'm not sure that will result in a compositor with graphical acceleration, maybe it will if there's a GPU available?

The main issue remains those are usually used for testing or remote desktop situations, like running GUI apps in CI and testing them. So they're not very well documented nor all that well tested and supported.

Happy to help, I spent days on this so I'm glad to share the information! Feel free to ask more questions.

this post was submitted on 08 Mar 2024
19 points (100.0% liked)

Linux Gaming

15790 readers
4 users here now

Gaming on the GNU/Linux operating system.

Recommended news sources:

Related chat:

Related Communities:

Please be nice to other members. Anyone not being nice will be banned. Keep it fun, respectful and just be awesome to each other.

founded 4 years ago
MODERATORS