setup/profile.d/xhost.csh

12 lines
214 B
Tcsh
Raw Normal View History

2011-04-26 13:22:53 +02:00
# 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