summaryrefslogtreecommitdiff
path: root/tests/virtualfb.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/virtualfb.sh')
-rwxr-xr-xtests/virtualfb.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/virtualfb.sh b/tests/virtualfb.sh
index 3c0cf0e..e745765 100755
--- a/tests/virtualfb.sh
+++ b/tests/virtualfb.sh
@@ -13,8 +13,9 @@ if [ ! $VFB_BINARY ]; then
exit 1
fi
-DISPLAY=:98
-$VFB_BINARY $DISPLAY -screen 0 800x600x24 &> virtualfblog &
+DISPLAY=`echo | awk 'BEGIN{srand();} {printf ":%.0f", rand()*1000+100};'`
+#DISPLAY=:98
+$VFB_BINARY $DISPLAY -screen 0 800x600x24 &> virtualfb.log &
echo PID=$! " "
echo DISPLAY=$DISPLAY
# trap "kill -KILL $xpid ||:" EXIT
contact: Jan Huwald // Impressum