|SAS Companion for UNIX Environments|
When you invoke the SAS System in an interactive mode, you can run SAS on your local host, or you can run SAS on a remote host and interact with the session through an X server running on your workstation. The server provides the display services that are needed for the X Window System.
Most of the time, the server name is derived from the
machine's name. For example, if your machine is named
green, the name of the server is
green:0.0. In most cases, the X server will already
be running when you log in. If you need to start your server manually, consult
the documentation that is provided with your X Window System software.
To run the SAS System on a remote host, you must tell
SAS which display to use by either setting the DISPLAY environment variable
or specifying the
-display X command line option.
To run the SAS System on a remote host, follow these steps:
xhostclient. Other systems control access through a session manager. To use the
xhostclient to permit all remote hosts to connect to your server, enter the following command at the system prompt on the system that is running your X server:
xhost +To run this command automatically each time you log in, enter this command in a file named
If your system does not control access with the
xhost client, consult your system
documentation for information on allowing remote access.
DISPLAY=green:0.0 export DISPLAYIn the Korn shell, you can combine these two commands:
export DISPLAY=green:0.0In the C shell, you must use the
setenv DISPLAY green:0.0The DISPLAY variable will be used by all Xclients on the system.
-displayoption. For example:
sas -display green:0.0
Note: This option is a command line option for the X Window
system, not for the SAS System. Specifying this option in a SAS configuration
file or in the SASV8_OPTIONS environment variable may cause problems when
running other interfaces.
If you have trouble establishing a connection, you can try using an IP address instead of a display name, for example:
xhost +) or some other method to change display permissions. You can also specify the NODMS system option when you invoke the SAS System to bring your session up in line mode.
If you are unable to invoke SAS, try running another
application such as
If you cannot run the application, you might need to contact your system administrator
Top of Page
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.