create_virtual_display
Create a virtual X display using Xvfb to run GUI applications in a headless environment, enabling automation and screenshot capture without a physical monitor.
Instructions
Start an Xvfb virtual display — the Linux 'headless but with GUI' mode.
GUI apps launched on it run with a real X server but no physical screen, so they can be automated (xdotool) and screenshotted (mss) without occupying the visible desktop. The Linux counterpart of the Windows headless desktop.
Args: params (CreateVirtualDisplayInput): display number, width, height, depth.
Returns: str: JSON {"ok": true, "display": ":99", "size": "1280x800x24", "pid": N}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |