Skip to main content

run_compositor

Function run_compositor 

Source
pub fn run_compositor(config: &Config, name: &str) -> Result<()>
Expand description

Run the Wayland firewall proxy for a container.

Listens on $XDG_RUNTIME_DIR/podbox/{name}-wayland.sock, accepts connections from the container, bridges each to the host compositor’s Wayland socket, and filters blocked interfaces from wl_registry::global events on the host→client path.