Xvfb
More info
- Type
- X server
- License
- MIT
An X server with no screen: it draws everything into memory so graphical programs can run where nobody is looking.
X virtual framebuffer has shipped with the X distribution since the 1990s and does everything a normal X server does except display anything. Windows, fonts and extensions behave as usual, but the pixels land in a buffer in RAM that can be dumped to a file on request. The program can't tell the difference: it opens DISPLAY=:99 and draws away.
It sounds like a curiosity and turned into a workhorse. Build servers with no GPU use Xvfb to run browser tests, take screenshots, or humour installers that refuse to start without a display. Debian's xvfb-run script starts a server, runs the command and cleans up afterwards. Headless modes in Chrome and Firefox have made it less necessary since, though not redundant.