UNIX/コマンド/クライアント/rlogin


Table of Contents
% rlogin [hostname]

% rlogin -l [username] [hostname]

% exit
% setenv DISPLAY [localhostname]:0.0

% setenv DISPLAY ${REMOTEHOST}:0.0 

echo $HOSTNAME > $HOME/.xhost

if [ $HOSTNAME != `cat $HOME/.xhost` ] ; then
    export DISPLAY="`cat $HOME/.xhost`:0.0"
fi
if ( $HOSTNAME != `cat $HOME/.xhost` ) then
    setenv DISPLAY "`cat $HOME/.xhost`:0.0"
endif


xrea