diff --git a/releng.control/cc.sh b/releng.control/cc.sh
index 76b27287823d1badb862bcdca3413a5791d44763..3569a1f2b5e957affefda28e7febe034f1949693 100644
--- a/releng.control/cc.sh
+++ b/releng.control/cc.sh
@@ -11,6 +11,10 @@ then
    source ${RELENG_CONTROL}/commonComputedVariables.shsource
 fi
 
+if [ -z $DISPLAYNUMBER ]
+then
+DISPLAYNUMBER=1001
+fi
 
 # limit data space (ld) to 10m bytes. 
 # limit stack space (ls) to 1m bytes.