Redirecting to a GUI display

On UNIX platforms with a character-based terminal, you can install or uninstall the product either through a console interface, or through a graphical user interface (GUI) by redirecting the display to a Windows-based terminal to run the installer.

StepsRedirecting the GUI display

  1. Select a terminal that has window-display capabilities (for example, xterm), and verify that the host on which you are installing OpenSwitch can connect to the selected terminal.

  2. Set the DISPLAY environment variable to point to a Windows-based terminal before running the installer with the following, where gui_terminal_host is the name of the machine to which you are redirecting the GUI display.

    For the Bash, the Bourne, or the Korn shell, enter:

    DISPLAY=gui_terminal_host:0.0; export DISPLAY
    

    For the C shell, enter:

    setenv DISPLAY gui_terminal_host:0.0
    
  3. If the window-based terminal belongs to another host, from the GUI host, execute:

    xhost +install_host
    

    This allows the installing host to display the GUI.

  4. Verify that the display setting is working by executing this command from the installing host:

    xclock
    

    An xclock image should appear on the window-based terminal. If it does not, check the above settings, or try another GUI terminal.

  5. From the location of the installation CD, install the software.