This page discusses Open Windows environments and using
the ViewStation with them.
Open Windows Applications
Open Windows applications use special environments and
configuration files for their operation, including special path names
and environment variables. Use the sample file below to set the
required variables for the OPEN LOOK Window Manager, olwm, substituting
the appropriate directories and paths on your Sun host. These entries
should be in the ViewStation user's .cshrc or .profile file.
Open Windows Environments setenv
OPENWINHOME /usr/openwin
setenv LD_LIBRARY_PATH
$OPENWINHOME/lib
setenv X11ONLY=YES
setenv MANPATH
$OPENWINHOME/share/man:/usr/man
set path=( $OPENWIN/bin
$OPENWINHOME/bin/xview $path )
On Sun workstations, X11R5 is usually built with shared
libraries in order to save space. These libraries have the same names
as some of the Openwin shared libraries. You may notice that running a
program compiled with the X11R5 libraries from the OPEN LOOK window
manager sometimes displays various Xview error messages on the Sun
console indicating that there are incorrect library versions. These
messages can be ignored.
The OPEN LOOK window manager can be run from the Sun host or
can be run locally on the HDS ViewStation (this is an official v3.0
OPEN LOOK Virtual Window Manager so its operation is identical to the
Sun based OLWM). When the environment variables are set correctly, as
shown above, you can start the OPEN LOOK window manager on the Sun to
display on the ViewStation. Make sure the ViewStation DISPLAY variable
is correctly entered.
The OPEN LOOK Virtual Window Manager runs locally on the
ViewStation to distribute the processing load so you can save Sun
memory and CPU power for other applications. The OLVWM behaves
identically with the OLWM except that it permits an extended screen on
a Virtual Desktop. This is an extension of the real screen to a tiled
array of screens. The Virtual Desktop permits the user to locate
windows in an off-screen tile and move to them by clicking in the
appropriate Virtual Desktop tile.
OLWM Window Manager
There are two ways to run OLVWM on the ViewStation.
The first way is to click on the OLWM button in Setup Mode's Main
Menu. This reads the resources and menus you have specified in the
ViewStation's OLWM files. The ViewStation's local HDSperx clients are
added to the root menu automatically.
The second way is to start the ViewStation's OLWM by means of
a remote shell process from the Sun host. This technique has the
advantage of letting the ViewStation's OLWM read the resource and menu
files as they are configured on the Sun host. This technique is
discussed on Open Look Window Manager .
These steps are necessary:
1. Put the ViewStation's name and IP address in the /etc/hosts
file.
2. Put the ViewStation's name in the /etc/hosts.equiv file.
Use this file to govern ViewStation access to other hosts. Alternately,
you may wish to use the user's $HOME/.rhosts file. The ViewStation
would then have the same security access and limitations as the host
machine executing the initial rsh command to the ViewStation.
3. Make sure appropriate environments, paths, etc. (in the
environment section above) are available in the user's .cshrc or
.profile files. Paths to the appropriate resource files and the
.openwin-menu file should also be available. The rsh command looks for
these variables in that location.
4. Start the ViewStation's window manager by rsh command from
the host. rsh -n <ViewStation name> olvwm '&'
If you want to use the Motif Window Manager, you can also
run that on the ViewStation. All of the considerations above apply to
Mwm, especially environments and resource files, including .mwmrc.
Start
Mwm with: rsh -n <ViewStation name> mwm '&'
Note that this technique preserves system security
because the ViewStation can only rsh to the host that initiated the rsh
command (and hosts specifically permitted by the /hosts.equiv file). The
ViewStation cannot rsh without the proper transfer of user names,
permissions, and environments by means of the initial rsh. In this way,
the ViewStation has no less security than the logon user and the initial
rsh host; this process simply extends or limits access to other
permitted host machines.
Return to Section Heading Page
Return to the Home Page
If you need more information than is available here, you can reach
HDS via email at info@hds.com, or
call us at 1.800.HDS.1551 in the USA, or at +610.277.8300 from outside
the US. For questions or problems regarding the HDS WWW page, contact
webmaster@hds.com.
© 1996 by HDS Network Systems
Inc.