Plain X11 is obviously out of the running, as that gives clients far too much access. Apparently[2] Xpra or xephyr can help here, but to what extent and how does it affect performance?
Wayland seems to use both sockets and shared memory somehow. Can that work with a VM or container? How? Is there another solution? (Pipewire?)
VNC works but doesn't perform well. SPICE might be slightly better?
[1] https://www.qubes-os.org/faq/#whats-so-special-about-qubes-g...
[2] https://firejail.wordpress.com/documentation-2/x11-guide/
My use case is on-prem, but it seems like this solution can run cloud agnostic.
[2] https://www.infoq.com/podcasts/netflix-builds-workstations/
If you're serious, then you want to search for GPU passthrough. This allows a VM to take control of an entire GPU. But you'll need a 2nd GPU for your main, bare metal OS.
If you use both host & VM I think my point stands, the host may as well be another VM (or the VM another physical machine) it's not that it's virtual that's adding anything, it's the separation, which was my point.
Why yes, that's exactly the idea.
It still goes a long way to reduce fallout with minimal effort & discipline.
You’re right it’s not perfect security, VM still needs securing – but it’s a good ROI