xvfb-run: add page (#3615)

client-spec/clarity
Pierre Rudloff 2019-11-29 17:13:42 +01:00 committed by Owen Voke
parent 359ada47c7
commit 270a93b9de
1 changed files with 16 additions and 0 deletions

16
pages/linux/xvfb-run.md Normal file
View File

@ -0,0 +1,16 @@
# xvfb-run
> Run a command in a virtual X server environment.
> More information: <https://www.x.org/wiki/>.
- 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:
`xvfb-run --auto-servernum {{command}}`
- Pass arguments to the Xvfb server:
`xvfb-run --server-args "{{-screen 0 1024x768x24}}" {{command}}`