ARCHIVED: In the X Window System, how do I properly display graphics on my workstation when running mathematical software on a different system?

This content has been archived, and is no longer maintained by Indiana University. Information here may no longer be accurate, and links may no longer be available or reliable.

Note: The X Window System has many possible configurations; the information below may not work on all terminals.

To display graphics when using the X Window System:

  1. In your local window, add the name of the system that hosts the mathematical software (e.g., Quarry) as an xhost by entering the following at the Unix prompt:
      xhost +quarry
  2. Log into the host system, and set DISPLAY to your workstation by entering the appropriate command for your shell at the Unix prompt:
    • For bash:
        export DISPLAY=stationname:0          
    • For ksh and sh:
        DISPLAY=stationname:0;export DISPLAY  
    • For csh and tcsh:
        setenv DISPLAY stationname:0          

MATLAB automatically detects X and creates pop-up windows for graphics. Maple and Mathematica also provide a complete X Window System interface in a separate window. You can invoke these with the commands xmaple and mathematica.

If you have questions about using statistical and mathematical software at Indiana University, contact the UITS Research Applications and Deep Learning team.

This is document aazk in the Knowledge Base.
Last modified on 2023-05-09 14:44:42.