A standalone X11+VNC container for development in Docker based on TigerVNC.
TigerVNC’s Xvnc provides both X11 and VNC servers in one, which offers a better performance compared to running Xvfb and a VNC server separately. This lets you run GUI applications inside Docker without having to include an X server in the application image. For an example usage, see my note Running an X11 display server and noVNC on Codespaces.
Pre-built images are available on GitHub Packages, built by GitHub Actions.
:6000
- X11 server:5900
- VNC server
VNC_GEOMETRY
- Set to<width>x<height>
of the desktop. Default 1280x800.OPENBOX_ENABLED
- Default is1
. Set to0
to disable Openbox window manager. If disabled, windows will not have a title bar and will not be resizable. Do this if you plan to bring your own window manager.