diff --git a/tools/xvfb-init.sh b/tools/xvfb-init.sh index 7e2890d8a5b0..47151fd2c213 100644 --- a/tools/xvfb-init.sh +++ b/tools/xvfb-init.sh @@ -1,6 +1,6 @@ XVFB=/usr/bin/Xvfb XVFBARGS="$DISPLAY -ac -screen 0 1024x768x16 +extension RANDR" -PIDFILE=/var/xvfb_${DISPLAY:1}.pid +PIDFILE=/var/xvfb_$DISPLAY.pid case "$1" in start) echo -n "Starting virtual X frame buffer: Xvfb"