From: Chris Koeritz Date: Wed, 27 May 2020 03:12:36 +0000 (-0400) Subject: dropping retired get_x_auth script X-Git-Tag: 2.140.121^2~8 X-Git-Url: https://feistymeow.org/gitweb/?p=feisty_meow.git;a=commitdiff_plain;h=ceddbd2668b4696288c0c34a329722ae42d36fa8 dropping retired get_x_auth script also didn't seem to still be working. --- diff --git a/scripts/security/get_x_auth.sh b/scripts/security/get_x_auth.sh deleted file mode 100644 index c9f2ea81..00000000 --- a/scripts/security/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 -