summaryrefslogtreecommitdiffstats
path: root/profile.d/xhost.csh
blob: 948e617540f4c4a6a33e27978b52375d6205276f (plain)
1
2
3
4
5
6
7
8
9
10
11
# 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