Skip to content

Instantly share code, notes, and snippets.

@keepitsimple
Last active April 10, 2019 13:41
Show Gist options
  • Save keepitsimple/a0aa7a2e10ab930d741d to your computer and use it in GitHub Desktop.
Save keepitsimple/a0aa7a2e10ab930d741d to your computer and use it in GitHub Desktop.
Ubuntu 14.04 install Xvfb
# Dependencies to make "headless" chrome/selenium work:
sudo apt-get -y install xvfb gtk2-engines-pixbuf
sudo apt-get -y install xfonts-cyrillic xfonts-100dpi xfonts-75dpi xfonts-base xfonts-scalable
echo "Starting X virtual framebuffer (Xvfb) in background..."
Xvfb -ac :99 -screen 0 1280x1024x16 &
export DISPLAY=:99
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment