Forked from keepitsimple/gist:a0aa7a2e10ab930d741d
Last active
August 1, 2018 08:36
-
-
Save supun19/28b103d8e45c102f2a5daae95edb7ee7 to your computer and use it in GitHub Desktop.
Ubuntu 14.04 install Xvfb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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