Skip to content

Instantly share code, notes, and snippets.

@eduardoromero
Created May 2, 2017 18:39
Show Gist options
  • Save eduardoromero/d747eae2c0776e24c8bf39b5cef29919 to your computer and use it in GitHub Desktop.
Save eduardoromero/d747eae2c0776e24c8bf39b5cef29919 to your computer and use it in GitHub Desktop.
Starting Xvfb with start-services.sh
#!/usr/bin/env bash
set -e
# Start Xvfb
Xvfb -ac -screen scrn 1280x800x24 :9.0 &
export DISPLAY=:9.0
exec "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment