search for: ldisp

Displaying 2 results from an estimated 2 matches for "ldisp".

Did you mean: ldisc
2002 Dec 04
0
Continuous X Display problems on AIX
...h . /usr/local/bin/generic_alias 2) Contents of setdisp.ksh ############################################################# # # script: setdisp.ksh # # purpose: to set the display variable on login # ############################################################# # # Check if su, see if /tmp/ldisp for same date,time # DFILE=/tmp/ldisp if [ ${DISPLAY:-0} = "0" ] ; then cdate=`date +"%h%d%H:%M"` fdate=`ls -l $DFILE|awk '{print $6$7$8}'` if [ $cdate = $fdate ] ; then xauth add `cat $DFILE` export DISPLAY=`cat $DFILE | awk '{print $1}'...
2002 Dec 04
1
AIX - X displays forwarding problem with su
...h . /usr/local/bin/generic_alias 2) Contents of setdisp.ksh ############################################################# # # script: setdisp.ksh # # purpose: to set the display variable on login # ############################################################# # # Check if su, see if /tmp/ldisp for same date,time # DFILE=/tmp/ldisp if [ ${DISPLAY:-0} = "0" ] ; then cdate=`date +"%h%d%H:%M"` fdate=`ls -l $DFILE|awk '{print $6$7$8}'` if [ $cdate = $fdate ] ; then xauth add `cat $DFILE` export DISPLAY=`cat $DFILE | awk '{print $1}'...