Using xvfb to run applications

Occasionally, an application being tested or run on CircleCI will require some sort of interaction with a framebuffer. Unfortunately, CircleCI jobs are headless, meaning there is no display or graphical user interface (GUI) -- this is where xvfbcomes in. xvfb provides a virtual framebuffer for GUI applications to run in within a headless environment. Using the following will run the app with a virtual framebuffer for rendering GUIs:

xvfb <command>

Further reading: xvfb manpage

Was this article helpful?
1 out of 8 found this helpful



Article is closed for comments.