Skip to main content

Module display

Module display 

Source
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§

DisplayHandle
Running KasmVNC display. Cloning the surrounding Arc keeps the process alive until the listener state is dropped.
DisplayProxyState
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 Xvnc and wait until both the X display socket and the embedded web client are reachable on localhost.