Using xvfb to run applications

X Virtual Framebuffer

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>


Additional Resources

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



Article is closed for comments.