How Do I Display Graphics from a Unix Server to a Remote Windows or Macintosh Server?
There are three steps required to allow a program running on a remote computer to display on a local UNIX workstation. The first step is to “tell” the local computer to allow connections from the remote machine; this is accomplished with the xhost command. The second step is to log in to the remote machine and “tell” the remote machine where to send its display output to by setting the environment variable DISPLAY. For the second step, you may need the IP address of the workstation. The third and final step is to run your program on the remote machine.