Chapter Contents |
Previous |
Next |
SAS Companion for UNIX Environments |
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:
xhost
client.
Other systems control access through a session manager. To use the
xhost
client 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
.xhost
.
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
command:
setenv DISPLAY green:0.0The DISPLAY variable will be used by all Xclients on the system.
-display
option. 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:
-display 10.22.1.1:0
xhost
client (enter
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
xclock
.
If you cannot run the application, you might need to contact your system administrator
for assistance.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.