HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

xvfb-run — Run a command in a virtual X server environment. More information: <https://manned.org/xvfb-run>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
virtualservercommandrunclienvironmentxvfb-run
linux

Problem

How to use the xvfb-run command: Run a command in a virtual X server environment. More information: <https://manned.org/xvfb-run>.

Solution

xvfb-run — Run a command in a virtual X server environment. More information: <https://manned.org/xvfb-run>.

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 {{[-a|--auto-servernum]}} {{command}}


Pass arguments to the Xvfb server:
xvfb-run {{[-s|--server-args]}} "{{-screen 0 1024x768x24}}" {{command}}

Code Snippets

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 {{[-a|--auto-servernum]}} {{command}}

Pass arguments to the Xvfb server

xvfb-run {{[-s|--server-args]}} "{{-screen 0 1024x768x24}}" {{command}}

Context

tldr-pages: linux/xvfb-run

Revisions (0)

No revisions yet.