summaryrefslogtreecommitdiffstats
path: root/profile.d
diff options
context:
space:
mode:
Diffstat (limited to 'profile.d')
-rwxr-xr-xprofile.d/xhost.csh11
-rwxr-xr-xprofile.d/xhost.sh9
2 files changed, 0 insertions, 20 deletions
diff --git a/profile.d/xhost.csh b/profile.d/xhost.csh
deleted file mode 100755
index 948e617..0000000
--- a/profile.d/xhost.csh
+++ /dev/null
@@ -1,11 +0,0 @@
-# Export Xauthority for users not for root.
-
-if ($?DISPLAY) then
- if (! $?SSH_TTY) then
- if ( `id -u` >= 14 ) then
- if (! $?XAUTHORITY) then
- setenv XAUTHORITY $HOME/.Xauthority
- endif
- endif
- endif
-endif
diff --git a/profile.d/xhost.sh b/profile.d/xhost.sh
deleted file mode 100755
index 04bb7ee..0000000
--- a/profile.d/xhost.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-# Export Xauthority for users not for root.
-
-if [ ! -z "$DISPLAY" -a -z "$SSH_TTY" ];then
- if [ "`id -u`" -gt 14 ];then
- if [ -z $XAUTHORITY ];then
- export XAUTHORITY=$HOME/.Xauthority
- fi
- fi
-fi