Running the Xserver in a container #206
Replies: 5 comments 5 replies
-
Beta Was this translation helpful? Give feedback.
-
|
Tangential and a lot of extra effort: What about offering static build - everything in single executable ? |
Beta Was this translation helpful? Give feedback.
-
|
I just stumbled upon mviereck/x11docker: Run GUI applications and desktops in docker and podman containers. Focus on security. and according to the |
Beta Was this translation helpful? Give feedback.
-
The most relevant bit in my opinion is packing the applications that want x11 into a sandboxed/isolated environment. I'd prefer docker/oci containers for that over flatpak, as it is more widespread (it is not desktop only, plus has better security out of the box) so we get better support for it. Not gonna say that "running the xserver in a container does not matter", but running the application itself in a container matters more, and using the host's xserver is a good way to do that. I'd also say that this tech is one of the best tools to preserve 30+ years of software that we can not patch anymore. (No, not even updating wine is a solution because some software does not run under newer wine versions) |
Beta Was this translation helpful? Give feedback.
-
|
IDK if this counts as running an X server in a container but I think it was worth mentioning An secondary, empty X11 socket directory is mounted through a readonly nullfs mount from a folder on the host to the /tmp/.X11-unix/ of the jail. The only thing that does not work in this setup is HW acceleration, because Xephyr can not use the hosts acceleration capabilities, but that is not really a issue for me because I do not need acceleration. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Hello folks,
anybody where who's running the Xserver within containers / jail / chroot ?
The testing ground has (limited) ability to do so, but it's just for pure testing purpose there.
I wonder whether it makes sense offering a container or chroot build (plus a bit of startup script) that can be deployed independent of individual distro.
What are your thoughts on that ?
Beta Was this translation helpful? Give feedback.
All reactions