VNC access

Stream a sandbox's desktop to a local VNC viewer or your browser.

tektona vnc connects to the desktop running inside a sandbox. The CLI brokers the connection through a local WebSocket proxy, so you don't need to expose ports or know the sandbox's IP.

Connect

tektona vnc <sandbox-id>

The default client (--type web) opens a browser tab pointed at a locally proxied noVNC viewer. Close the tab to disconnect.

Several sandboxes at once

Pass multiple IDs, or --all to connect to every running sandbox in the current context (capped at 20):

tektona vnc <id-1> <id-2> <id-3>
tektona vnc --all
tektona vnc --all --browser           # auto-open each tab

Start the desktop on demand

Sandboxes don't always have the desktop running. Start it as part of the connect step:

tektona vnc <sandbox-id> --start-desktop

Or manage the desktop directly:

tektona sandbox desktop start <sandbox-id>
tektona sandbox desktop stop <sandbox-id>

Combine with sandbox create

Create a sandbox and open a VNC session in one step:

tektona sandbox create --image ghcr.io/tektona-ai/desktop-x11:0.4.3 --egress-policy tektona/open --vnc --browser

Flags

FlagDefaultPurpose
--typewebVNC client (web)
-b, --browserfalseOpen the viewer automatically
--start-desktopfalseStart the desktop before connecting
--allfalseConnect to every running sandbox (max 20)
-v, --verbosefalseLog WebSocket proxy events

On this page