When you run a graphics or visualization application on one of the NERSC platforms, you would like the output to appear on your desktop machine. This is easily done, but you must tell the application how to accomplish the routing. There are (at least) two ways to accomplish such a specification.
If you want to use the insecure method, you need to perform the following two-stage process:
% xhost escher.nersc.gov
% setenv DISPLAY myworkstation.com:0 % idl // the name of the application
With the secure method, all Xlib commands are routed through ssh. This way, there is no explicit unauthenticated Xlib command stream being executed by your workstation, so it is more secure. Also, the Xlib commands themselves are encrypted by the ssh channel. The secure method is also less complex to set up as it involves only a single action on your part - to provide one additional argument when launching ssh on your workstation.
To use the secure method, use the -X argument when launching ssh on your workstation. The -X argument tells ssh to route all Xlib commands through the ssh back to your workstation. E.g.:
% ssh -X escher.nersc.gov
Then, once the shell is opened on escher, any command you run from that shell that generates Xlib output will automagically be sent back to your workstation.
For more reading, check your local ssh manual pages.