#!/bin/sh # This is an example script for launching # ServerExecute on systems without an X # server, a very common use case. # # This makes use of Xvfb, since an unpatched # QtWebKit requires an X server to be running. # You may also patch your QtWebKit to not # require X. # # Adjust paths as needed and include any # other initialization you see fit. cd $(dirname $0) export DISPLAY=":$RANDOM" Xvfb $DISPLAY >/dev/null 2>/dev/null & ./ServerExecute $@ kill $(jobs -p) 2>/dev/null >/dev/null