X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fx_win%2Fget_x_auth.sh;fp=scripts%2Fx_win%2Fget_x_auth.sh;h=0000000000000000000000000000000000000000;hb=7b39f7e279005c8466ef508220a532ce2aa4abf8;hp=c9f2ea81dd68a5ff429017b2bc93858cb967b0a7;hpb=3fbd372b35b15a19fb171d5ae34294ff7b1e6485;p=feisty_meow.git diff --git a/scripts/x_win/get_x_auth.sh b/scripts/x_win/get_x_auth.sh deleted file mode 100644 index c9f2ea81..00000000 --- a/scripts/x_win/get_x_auth.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash -# This script finds the X window system authorization info that's already -# been established for this display. The information can then be used to -# set the authorization for a new su session, which keeps X secure as -# well as allowing the user to run X programs on the original display. - -# make sure we have some information to return in the first place. -if [ ! -z "$DISPLAY" ]; then - disp_search=$(echo $DISPLAY | sed -e 's/.*:\([0-9]*\).*/:\1/') -#echo disp search is $disp_search - temp_auth=$(xauth list | grep -i $HOSTNAME | grep $disp_search) -#echo temp auth is $temp_auth - temp_auth2=$(echo $temp_auth | sed -e "s/$HOSTNAME/; xauth add $HOSTNAME/g" ) -#echo temp auth2 is $temp_auth2 - export X_auth_info="echo setting X permissions $temp_auth2" -#echo $X_auth_info - -fi -