Expand description
In-container real-display takeover supervision.
KasmVNC is kept as an external GPL process: afhttp only starts Xvnc,
waits for its X display + localhost web listener, and reverse-proxies the
web client from the authenticated host listener.
Structs§
- Display
Handle - Running KasmVNC display. Cloning the surrounding
Arckeeps the process alive until the listener state is dropped. - Display
Proxy State - Minimal state used by the listener reverse proxy. Tests can construct this
without spawning KasmVNC; production keeps the process alive via
_handle.
Constants§
- DISPLAY_
HEIGHT - DISPLAY_
WIDTH - Virtual framebuffer geometry for the takeover display. No window manager
runs on the X display, so the headful browser window is pinned to this size
(see
AppState::launch) to fill the framebuffer.
Functions§
- launch_
kasmvnc - Launch KasmVNC’s
Xvncand wait until both the X display socket and the embedded web client are reachable on localhost.