The following sequence of commands is an example of starting a Shell Tool on a remote Simplified Chinese Solaris 1.x (including Simplified Chinese OpenWindows 2.x) machine. In this example, your local machine is running Solaris 2.x (including Simplified Chinese OpenWindows 3.x) , and the remote machine (where you start the Shell Tool) has Simplified Chinese Solaris 1.x, including Simplified Chinese OpenWindows 2.x:
Type the following command.
local_machine% xhost +remote_machine |
Log in on the remote machine.
local_machine% rlogin remote_machine |
or
local_machine% telnet remote_machine |
Set the language locale on the remote machine.
remote_machine% setenv LANG chinese |
Set the remote machine to display on your local machine.
remote_machine% setenv DISPLAY local_machine:0.0 |
Set the OpenWindows environment home directory.
remote_machine% setenv OPENWINHOME /usr/openwin |
Set the path to the OpenWindows LD library.
remote_machine% setenv LD_LIBRARY_PATH $OPENWINHOME/lib |
Start an OpenWindows application, for example, a Shell Tool:
remote_machine% $OPENWINHOME/bin/xview/shell tool -lc_basiclocale oldlocale -lc_inputlang oldlocale -lc_displaylang oldlocale |
To run a different application, use that application's command in place of shelltool.