My pipedream is to have a containerized desktop environment like this that outputs directly to a physical monitor over HDMI/DP without needing an X server on the host machine. So far I haven't found any clear answers on whether that's possible at all.
I feel I've been nerdsniped or, some other term for your quest being contagious, I also now need to know if this is possible
I found a thread from someone who seems to know what they're talking about saying it's not going to happen "on your hardware", but doesn't mention what hardware might be required
Edit actually reading that link again it sounds like a USB adapter worked right away as a monitor for the VM and the OP is asking how to prevent this ! So seems you just need to enable GPU passthrough, and a USB HDMI will appear to your VM ? Will have to try this later today
I can only answer for NVIDIA, as that was the platform we developed on, but it should be possible to encapsulate the X11 server within the container without starting an X server on the host machine, and then plug in to the monitor you designate.
Comments
My pipedream is to have a containerized desktop environment like this that outputs directly to a physical monitor over HDMI/DP without needing an X server on the host machine. So far I haven't found any clear answers on whether that's possible at all.
I feel I've been nerdsniped or, some other term for your quest being contagious, I also now need to know if this is possible
I found a thread from someone who seems to know what they're talking about saying it's not going to happen "on your hardware", but doesn't mention what hardware might be required
https://forum.level1techs.com/t/can-intel-integrated-gpu-out...
Edit actually reading that link again it sounds like a USB adapter worked right away as a monitor for the VM and the OP is asking how to prevent this ! So seems you just need to enable GPU passthrough, and a USB HDMI will appear to your VM ? Will have to try this later today
This runs with on all hardware with no X server on the host: https://github.com/sabrehagen/desktop-environment
My desktop environment does exactly this: https://github.com/sabrehagen/desktop-environment
I can only answer for NVIDIA, as that was the platform we developed on, but it should be possible to encapsulate the X11 server within the container without starting an X server on the host machine, and then plug in to the monitor you designate.
I can answer further if you are satisfied with the directions found within https://github.com/selkies-project/docker-nvidia-glx-desktop. It has a lot of effort to NOT require a monitor, but it should also work with one.