Oracle® Solaris Studio 12.4: Installation Guide

Exit Print View

Updated: December 2014
 
 

How to Prepare for Installation Using a Remote Display

  1. Type the following command on both the source computer and the display computer:
    % hostname

    The hostnames are used in subsequent steps.

  2. Type the following command on the display computer:
    % xhost + source-computer-name

    Replace source-computer-name with the output of the hostname command entered on the source computer, which is the computer that contains the downloaded files.

    The xhost command enables programs running on the source computer to send their displays to the X server on the display computer.

  3. Log in to the source computer using ssh -X and become superuser (root)

    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
  4. On the source computer, set your DISPLAY variable to the display 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:n.n with the output of the hostname command entered on the display computer.

    You can type echo $DISPLAY on the display computer to see the display number, such as :2.0