← Back to context

Comment by rrvsh

5 days ago

Do you mean the local session would be locked while you work unlocked from remote? That should be doable with a separate session using a dummy HDMI plug, but your original comment read to me as being able to remote in and lock the session, which is 100% possible with Sunshine

Yes: the RDP experience is even if I just walk away, when I log in from somewhere else the local session is locked and inputs disabled.

Then if I walk back to that console and log in, I can go back to using it directly.

Near as I can tell no one's solved this for Sunshine.

Edit: I will say though there must be good reasons, it's never been clear to me why this is so hard particularly when you have Wayland just compositing to one big buffer in VRAM. Surely we just want to hand the local buffer back to GDM and let the remote stream have whatever we rendered?

  • It's not insanely hard, I've done it before with a dummy plug and it's possible with the current implementations (essentially what you said: just a separate Wayland session). The reason it is not better supported, I would hazard, is because not many people really need their session locked when they're away - they just need to remote in.