search for: xlocalhost

Displaying 1 result from an estimated 1 matches for "xlocalhost".

Did you mean: localhost
2005 Feb 07
1
treat output of sshrc as environment assignment lines?
...if read proto cookie && [ -n "$DISPLAY" ]; then if xauth=`mktemp -t xauth-XXXXXXXXXX" 1>/dev/null`; then XAUTHORITY=${xauth}; export "${XAUTHORITY}" echo "XAUTHORITY=${XAUTHORITY}" fi if [ `echo "x${DISPLAY}" | cut -c1-11` = 'xlocalhost:' ]; then # X11UseLocalhost=yes echo add "unix:`echo $DISPLAY | cut -c11-`" ${proto} ${cookie} else # X11UseLocalhost=no echo add "${DISPLAY}" "${proto}" "${cookie}" fi | xauth -q - fi Having sshd evaluate the output that sshrc produc...