Install
openclaw skills install virtual-remote-desktopKasmVNC-based virtual desktop for headless Linux with AI-first automation and human handoff. Use when most steps are automated but a user must manually intervene for captcha/risk-control/login approval, then return to automation. Includes requirement-driven setup for mobile/desktop takeover and browser mobile/desktop rendering.
openclaw skills install virtual-remote-desktopUse this when the workflow is:
This version replaces x11vnc+noVNC with KasmVNC and keeps computer-use style action scripts for AI control.
bash /home/ubuntu/.openclaw/workspace/skills/virtual-remote-desktop/scripts/install_kasmvnc.sh
This installer also prepares required runtime tools:
fluxbox (lightweight desktop)xdotool + scrot (computer-use actions)xauthBefore starting, always confirm these user requirements:
127.0.0.1) or 临时公网 (0.0.0.0)Use guided script (interactive Q&A):
bash /home/ubuntu/.openclaw/workspace/skills/virtual-remote-desktop/scripts/start_vrd_guided.sh
Preview config without starting:
bash /home/ubuntu/.openclaw/workspace/skills/virtual-remote-desktop/scripts/start_vrd_guided.sh --dry-run
bash /home/ubuntu/.openclaw/workspace/skills/virtual-remote-desktop/scripts/start_vrd.sh
Important env vars:
AUTO_LAUNCH_URL (optional): open target page automaticallyKASM_BIND (default 127.0.0.1, safer)AUTO_STOP_IDLE_SECS (default 900)BROWSER_MOBILE_MODE=1 (launch browser with mobile emulation)BROWSER_DEVICE=iphone14pro|pixel7|ipadExample:
AUTO_LAUNCH_URL="https://example.com/login" \
AUTO_STOP_IDLE_SECS=1200 \
bash /home/ubuntu/.openclaw/workspace/skills/virtual-remote-desktop/scripts/start_vrd.sh
Mobile-friendly VNC stream example (better phone takeover UX):
MOBILE_MODE=1 MOBILE_PRESET=phone \
AUTO_STOP_IDLE_SECS=900 \
bash /home/ubuntu/.openclaw/workspace/skills/virtual-remote-desktop/scripts/start_vrd.sh
Mobile stream options:
MOBILE_MODE=1 enables mobile defaultsMOBILE_PRESET=phone|tablet sets default resolution (960x540 / 1280x720)KASM_MAX_FPS can be lowered further (e.g. 18) on weak networksBrowser mobile emulation (website renders as mobile page):
AUTO_LAUNCH_URL="https://example.com" \
BROWSER_MOBILE_MODE=1 BROWSER_DEVICE=iphone14pro \
bash /home/ubuntu/.openclaw/workspace/skills/virtual-remote-desktop/scripts/start_vrd.sh
Notes:
MOBILE_MODE (which optimizes VNC stream size).bash /home/ubuntu/.openclaw/workspace/skills/virtual-remote-desktop/scripts/status_vrd.sh
bash /home/ubuntu/.openclaw/workspace/skills/virtual-remote-desktop/scripts/health_vrd.sh
bash /home/ubuntu/.openclaw/workspace/skills/virtual-remote-desktop/scripts/stop_vrd.sh
All actions run on the active virtual display from pids.env.
# screenshot (base64)
bash scripts/action_screenshot.sh
# click / type / key / scroll
bash scripts/action_click.sh 500 420 left
bash scripts/action_type.sh "hello"
bash scripts/action_key.sh "ctrl+l"
bash scripts/action_scroll.sh down 4
# helpers
bash scripts/action_mouse_move.sh 800 300
bash scripts/action_cursor_position.sh
bash scripts/action_wait.sh 2
Recommended loop:
action_screenshot.shaction_click/type/key/...When captcha/risk-control appears:
This avoids full manual operation while keeping recovery fast.
KASM_BIND=127.0.0.1KASM_BIND=0.0.0.0AUTO_STOP_IDLE_SECS (e.g. 300)~/.openclaw/vrd-data by default.CHROME_PROFILE_DIR.