xvfb-run

Run a command in a virtual X server environment. More information: <https://www.x.org/wiki/>.

Install

All systems
curl cmd.cat/xvfb-run.sh
Debian Debian
apt-get install xvfb
Ubuntu
apt-get install xvfb
Alpine
apk add xvfb
Arch Arch Linux
pacman -S xorg-server-xvfb
image/svg+xml Kali Linux
apt-get install xvfb
CentOS
yum install xorg-x11-server-Xvfb
Fedora
dnf install xorg-x11-server-Xvfb
Windows (WSL2)
sudo apt-get update sudo apt-get install xvfb
Raspbian
apt-get install xvfb
Docker
docker run cmd.cat/xvfb-run xvfb-run powered by Commando

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

© tl;dr; authors and contributors