In order to run the X version of SPSS, you must have an X window manager running on your computer. For MS Windows, you can run XWin32 or Micro-X, and on a Macintosh you can use Mac-X. XWin32 and Mac-X are available on the computers in the Public User Areas XWin32 also is available for download from the ITS Software Download site. The Consultants can help you obtain and use XWin32, and the ITS Web site has XWin32 documentation. Mac-X is not available for download, and must be purchased by the user.
On UNIX workstations, the X window software can be CDE,
Sun OpenWindows, or MIT X Windows, among others.
In this environment (X Windows on a UNIX workstation),
to run the X version of SPSS, you need to open a window
and make sure the DISPLAY variable is set to your local machine.
At USC, the best way to get to the host where SPSS will run is to
use the ssh (secure shell) command.
This command opens a new window, encrypts the transmission between
your machine and the host that will run SPSS,
and sets the DISPLAY variable to
the same setting as the window (or console) from which the
ssh command was typed.
In general, the following steps will prepare the way for your SPSS
X Windows session (the example uses almaak, but you may
substitute the name of any machine that can access SPSS):
First, make sure the DISPLAY variable is set to your local machine in
the window where you'll type the ssh command.
Type echo $DISPLAY, and if you do not see 'undefined
variable', then you should be able to proceed successfully.
If you do see 'undefined variable', then define the DISPLAY
with some form of the following command:
where "machinename" is the name or IP address of the workstation you
are using. Here are two examples of how this command might look:
setenv DISPLAY <machinename>:0
(Of course, cabernet or 128.125.999.999 in the above examples
would be replaced with the
actual name or IP address of your machine.)
setenv DISPLAY cabernet:0
setenv DISPLAY 128.125.999.999:0
To learn the IP address on a UNIX workstation, go to the console window and type:
sysinfo | grep AddressTo learn the IP address of a Windows PC running NT, click on Start>Programs>Command Prompt and type:
IPCONFIGTo learn the IP address of a Windows PC running Windows 95 or 98, click on Start>Programs>Command Prompt and type:
WINIPCFGTo learn the IP address of a Macintosh, click Apple Menu>Control Panel>TCP/IP, and the IP address will be shown in the middle of the box.
Now, to open the window in which SPSS will be invoked, at your local machine (e.g., the console window), type:
ssh almaak
This opens a window on remote almaak with the DISPLAY set to
your local machine.
Of course, if your account is in the SCF, you would substitute
aludra in the above command.
The following command
spsswill then launch the X-window version of SPSS.
SPSS Under X-Windows is documented in the Base System User's Guide (UNIX portion) (see documentation list below).
The X-Windows (motif) version of SPSS is the default at ITS. If you are not capable of X-Windows, or prefer not to run it, you can run the character-based SPSS session by typing
spss +m