Running xspim from the Sun Lab

CS 220

Nov. 20, 1997

To run xspim, you must be in the X Window environment. Thus, you must either be logged into phoenix's console or running OpenWin in the Sun Lab. I can show you where phoenix is, so that you can use it to run xspim, or you can indirectly run xspim from one of the machines in the Sun Lab. Here's how to run xspim from the Sun Lab:

  1. Login and let OpenWin start.

  2. Go to the command tool and run the command:
    /usr/openwin/bin/xhost +phoenix
    

  3. From the command tool, rlogin to phoenix:
    rlogin phoenix
    

  4. On phoenix, run the command:
    setenv DISPLAY black:0.0
    
    (Replace black with the hostname of whatever Sun workstation you log in to. If you're not sure what the hostname is, run the hostname command before performing the rlogin to phoenix.)

  5. On phoenix, cd to the directory where your SPIM program is.

  6. On phoenix, run the command xspim . The xspim console should display on your workstation.

That's all it should take. You'll need to run through these steps each time you login and want to run xspim. The xhost command directs your workstation to accept X connections from phoenix. The setenv command directs X programs run on phoenix to connect to the X server running on your workstation. So, the program is running on phoenix, but displaying on the workstation in front of you. This works fine on an ethernet, but you wouldn't want to try it on a PPP connection across a modem line.



Thomas P. Kelliher
Thu Nov 20 14:49:40 EST 1997
Tom Kelliher