You can run Simplified Chinese localized applications on a remote machine as explained in Appendix C, "Networked Applications," in Solaris Advanced User's Guide. That guide describes the advanced features of the OpenWindows environment that enable you to run applications that reside on another machine on your network.
Most users do not need to read this appendix. If you want to explore running networked applications, ask your system administrator if there are any special applications available on your network.
Applications running on Simplified Chinese OpenWindows 2.x can be displayed remotely on an Simplified Chinese OpenWindows 3.x system. Simplified Chinese OpenWindows 3.x applications may not be able to be displayed remotely in an Simplified Chinese OpenWindows 2.x environment because not all 3.x system fonts are available in 2.x environments.
You must follow the information and directions in Appendix C, "Networked Applications," in Solaris Advanced User's Guide, which you should read thoroughly. You must additionally make the following adjustments to enable operation of the Simplified Chinese features of the Chinese OpenWindows environment.
To run a networked application on a remote machine you must set your environment variables correctly, as follows:
The DISPLAY
environment variable in your shell on the remote machine must be set to your local screen
The LANG
environment variable in your shell on the remote machine must be set to zh, zh.GBK or zh.UTF-8.
If the OpenWindows libraries have not been installed in the standard /usr/lib or /usr/local shared library directories, you must set the LD_LIBRARY_PATH
environment variable to the appropriate directory ($OPENWINHOME/lib)
Typically, an application uses the value of the LANG
environment variable to set each category that has not been set explicitly using LC_XXX.
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.