Skip to main content
Automate desktop interactions in HopX sandboxes with VNC, screenshots, mouse and keyboard control, and window management. This hub covers all desktop automation features.

What You’ll Learn

  • How to set up and use VNC servers
  • How to capture screenshots and screen recordings
  • How to control mouse and keyboard
  • How to manage windows and displays
  • How to use clipboard and advanced X11 features

Desktop Automation Overview

FeatureSDK MethodAPI Endpoint
VNC Serversandbox.desktop.vncVNC endpoints
Screenshotssandbox.desktop.screenshot()Screenshot endpoints
Mouse Controlsandbox.desktop.mouseMouse endpoints
Keyboard Controlsandbox.desktop.keyboardKeyboard endpoints
Window Managementsandbox.desktop.windowsWindow endpoints
Advanced X11Advanced X11X11 endpoints

Core Concepts

VNC Server

Set up and connect to VNC servers for remote desktop access.

Screenshots

Capture screenshots and screen recordings from sandboxes.

Mouse Control

Control mouse movements, clicks, and gestures.

Keyboard Control

Send keyboard input and key combinations.

Window Management

Manage windows, displays, and desktop layout.

Advanced X11

Advanced X11 features for desktop automation.

Clipboard

Access and manipulate clipboard contents.

SDK Reference

Python SDK

Complete reference for Python desktop automation.
  • Desktop Module - Complete desktop automation API
    • desktop.vnc - VNC server
    • desktop.screenshot() - Screenshots
    • desktop.mouse - Mouse control
    • desktop.keyboard - Keyboard control
    • desktop.windows - Window management
    • desktop.clipboard - Clipboard
    • desktop.x11 - Advanced X11

JavaScript SDK

Complete reference for JavaScript/TypeScript desktop automation.
  • Desktop Module - Complete desktop automation API
    • desktop.vnc - VNC server
    • desktop.screenshot() - Screenshots
    • desktop.mouse - Mouse control
    • desktop.keyboard - Keyboard control
    • desktop.windows - Window management
    • desktop.clipboard - Clipboard
    • desktop.x11 - Advanced X11

API Reference

VM Agent API

REST API endpoints for desktop automation.
  • VM Agent API Overview - API overview
  • Desktop automation endpoints (VNC, screenshots, mouse, keyboard, windows)

Quick Start

If you’re new to desktop automation, start here:
  1. VNC Server - Set up VNC access
  2. Screenshots - Capture your first screenshot
  3. Mouse Control - Control mouse interactions

Next Steps