2025-03-14 21:59:59 -06:00
|
|
|
# xvfb-run
|
|
|
|
|
|
|
|
|
|
> Run a command in a virtual X server environment.
|
2025-05-08 12:26:01 -06:00
|
|
|
> More information: <https://manned.org/xvfb-run>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Run the specified command in a virtual X server:
|
|
|
|
|
|
|
|
|
|
`xvfb-run {{command}}`
|
|
|
|
|
|
|
|
|
|
- Try to get a free server number, if the default (99) is not available:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`xvfb-run {{[-a|--auto-servernum]}} {{command}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Pass arguments to the Xvfb server:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`xvfb-run {{[-s|--server-args]}} "{{-screen 0 1024x768x24}}" {{command}}`
|