Elektrine lite

← Feed

@moonpiedumplings@programming.dev

Post #4179080

2026-07-29 01:27 UTC

If you log in (preferably as another user) to another tty (Cntrl + Alt + F2/3/4/5), and then run dbus-run-session startplasma-wayland, does that work? Sometimes just startplasma-wayland works, which used to work for me but didn’t work for me this time. Then, you should be able to switch back to the original KDE session, which continues to work normally, at least it does for me. Both sessions should have shared access to the GPU, as well. You can then probably run sunshine in that second instance of KDE, while the monitor can be attached to tty1 or tty2, whichever one is the default where KDE is put. Then, you would probably want to configure sunshine to work even when the screen is locked, that way you can lock the second session with Win + L, but it can still be interacted with remotely via sunshine.

Replies (1)

  • @muusemuuse@sh.itjust.works 2026-07-29 03:22

    I would need to use the headless backend in kwin, which apparently isn’t something you can do from start plasma-wayland but you can do with kwin_wayland --virtual -s waylandR. I can give it a specific socket (waylandR) which lets me point sunshine at that, but I cannot get moonlight to accept a PIN that way. it seems mad about this setup and I’m not sure why.

    Open ##4183909