VMForAI.com
In this issue
-
Clipboard, audio and file transfer in an agent's desktop
On a Linux agent desktop, read and set the clipboard with xclip, give applications a sound device with a PulseAudio null sink and record its monitor, and move files with docker cp, a dedicated shared folder or an upload endpoint in the desktop. Keep each channel one-way where you can.
VMForAI editors /
-
Resource sizing for a desktop agent: memory, processors, disk and screenshots
Size a desktop agent's machine from the operating system's published minimum, then add its applications, a browser and capture. The table lists minimums for Windows 11 VMs, Ubuntu Desktop and Debian; two worked grids give an example hourly cost per size and a screenshot's raw size.
VMForAI editors /
-
How to set up a Linux desktop for an AI agent with Xvfb, a window manager and noVNC
A Linux desktop for an AI agent is five programs on one machine or container: a virtual display (Xvfb), a light window manager, an input tool such as xdotool, a screenshot tool, and optionally a VNC server with noVNC so a person can watch. Start them in that order, as a non-root user.
VMForAI editors /
-
How to build a resettable desktop VM environment for agents, the way OSWorld does
An OSWorld-style environment is a desktop VM image with a small HTTP server inside, a named snapshot of the clean desktop, and a per-task setup config. The harness restores the snapshot, runs setup, lets the agent act, then a script checks the VM's final state.
VMForAI editors /
-
How to record an agent's desktop session with FFmpeg
Record an agent's Linux desktop with FFmpeg's x11grab device at a low, fixed frame rate, encode with x264 at a fast preset, and save the screenshot and action of every step beside the video. The video shows what happened between steps; the per-step log shows exactly what the model saw.
VMForAI editors /
-
Screen resolution, scaling and DPI for screenshot-based computer-use agents
Pick one screen size per environment, set it on the virtual display and keep it fixed. If screenshots are resized before the model sees them, scale every coordinate back to the real screen. Keep scaling at 100 percent (96 DPI) unless the task needs otherwise.
VMForAI editors /
-
How to watch an agent's desktop in a browser with x11vnc and noVNC
To watch an agent's desktop in a browser, run x11vnc on its display with a password and -localhost, put websockify and noVNC in front, and reach the page only over a private, authenticated path. Use x11vnc's -viewonly when people should watch but not touch.
VMForAI editors /
-
How to prepare a Windows VM for a computer-use agent
A Windows VM for an agent needs a licensed Windows edition, at least the documented VM minimums (for Windows 11: 2 virtual processors, 4 GB memory, 64 GB disk, Secure Boot and a virtual TPM), a fixed screen at 100 percent scaling, an input and screenshot channel, and a clean snapshot per task.
VMForAI editors /
-
Mouse and keyboard input for desktop agents: xdotool, pyautogui and ydotool
On an X11 desktop, send an agent's actions with xdotool (mousemove, click, type, key) or pyautogui from Python; both inject events through the X server. On Wayland, use a tool below the display server such as ydotool. Wait for the screen to settle before the next screenshot.
VMForAI editors /
-
Xvfb for agent desktops: the options that matter and the defaults that surprise
Start Xvfb with an explicit screen, for example Xvfb :99 -screen 0 1280x1024x24 -nolisten tcp, rather than relying on defaults. Its documented default depth differs between versions (8 in older manuals, 24 in the X.Org 21.1 manual), and xvfb-run adds its own defaults on top.
VMForAI editors /