In the X Window System, how do I properly display graphics on my workstation when running mathematical software on a different system?
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:
- 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
- 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
kshandsh: DISPLAY=stationname:0;export DISPLAY - For
cshandtcsh: setenv DISPLAY stationname:0
- For
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.
For more about statistical and mathematical software, email the UITS Stat/Math Center, visit the center's web page, or phone 812-855-4724 (IUB) or 317-278-4740 (IUPUI). The center is located in Bloomington at 410 N. Park Avenue, and is open for consultation by appointment Monday-Friday 9am-5pm.
Last modified on March 15, 2010.







