Salome HOME
Add construction plugin without tests.
[modules/shaper.git] / vnc.sh
diff --git a/vnc.sh b/vnc.sh
index 57102df99804e9203d214bbe4d946fd71718171f..f1811b8f0dc9f72db6fce5dad31281b3ef27be4d 100755 (executable)
--- a/vnc.sh
+++ b/vnc.sh
@@ -1,4 +1,10 @@
 #!/bin/bash -e
 
+if [ -z ${DISPLAY_PORT} ]; then
+  export DISPLAY_PORT=99
+fi
+
+echo "DISPLAY is :${DISPLAY_PORT}"
+
 export PATH=/dn23/NEWGEOM/NEWGEOM_JENKINS_BUILD_AREA/tools:/opt/TurboVNC/bin:${PATH}
-./vnc-run vglrun "$@"
+./vnc-run --server-num ${DISPLAY_PORT} -e err_vnc vglrun "$@"