xhost + source-computer-name
Replace source-computer-name with the output of the /usr/bin/hostname command entered on the source computer, which is the computer that contains the downloaded files.
You can use ssh with the -X option to forward the X display content back to the display computer. The source computer might not allow remotely logging in as root, so you might need to log in using your own username and become root after connecting to the source computer as shown below.
% ssh -X source-computer-name Password: your password-on-source-computer % su Password: root-password-on-source-computer
If you use the C shell, type:
# setenv DISPLAY display-computer-name:n.n
If you use the Bourne shell, type:
# DISPLAY=display-computer-name:n.n # export DISPLAY
If you use the Korn shell, type:
# export DISPLAY=display-computer-name:n.n
Replace display-computer-name with the output of the /usr/bin/hostname entered on the display computer.
You can type echo $DISPLAY on the display computer to see the display number, such as :2.0