From: spo Date: Thu, 20 Aug 2015 13:09:58 +0000 (+0300) Subject: Modify vnc.sh X-Git-Tag: V_1.4.0_beta4~307 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8e854a817158c0f1d90a3285c1c372ce22c0f0f6;p=modules%2Fshaper.git Modify vnc.sh --- diff --git a/vnc.sh b/vnc.sh index 57102df99..fafc049ef 100755 --- 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} vglrun "$@"