aos headless
Run the desktop commands on a machine with no screen
4 commands. Run aos headless --help for the same list from the binary, or see every group.
Run aos on a machine with no screen. status says whether a display is available and where it came from. On Linux, start launches a virtual display with Xvfb and an optional window manager, later commands adopt it automatically, and stop tears it down. run executes one command against the managed display explicitly. See headless machines.
Commands
Section titled “Commands”aos headless run
Section titled “aos headless run”Run a command against the managed virtual display
aos headless run <command> [args...]| flag | values | meaning |
|---|---|---|
<command> |
Required positional argument |
aos headless run aos window listaos headless start
Section titled “aos headless start”Start a virtual display, so window and input commands work
linux only
aos headless start [--display=:99] [--size=<WxH>] [--wm]| flag | values | meaning |
|---|---|---|
--display |
<:99> |
Optional |
--size |
<WxH> |
Optional |
--wm |
Optional |
aos headless startaos headless start --display=:101 --size=1920x1080 --wmaos headless status
Section titled “aos headless status”Report whether a display is available, and where it came from
aos headless statusaos headless statusaos headless stop
Section titled “aos headless stop”Stop the virtual display this machine started
linux only
aos headless stopaos headless stop