We are running on AIX but I checked my start_hs.ksh script that I wrote for starting the cloverleaf host server because I remembered that the host server will create log files in the directory it is started from.
Using a start_hs.ksh script means we don’t have to remember what extra steps might be prudent and could be overlooked or forgotten and I see it does a cd to $HCIROOT/server/logs first in our case.
In our case unsetting the display was the original motivation for doing this because we start the host server from a backend xterm and if the display was set and you started the host server from an xterm it will result in host server malfunction in a random fashion.
Here is the entire start_hs.ksh script we have been using to start the host server for cloverleaf 5.2 thru current cloverleaf 6.0:
#!/usr/bin/ksh
cd $HCIROOT/server/logs
myDISPLAY=$DISPLAY
unset DISPLAY
# here is an environment variable that can be set if a process uses to much paging space
# that is discussed at this URL: [code]#!/usr/bin/ksh
cd $HCIROOT/server/logs
myDISPLAY=$DISPLAY
unset DISPLAY
# here is an environment variable that can be set if a process uses to much paging space
# that is discussed at this URL:
Russ Ross
RussRoss318@gmail.com