Traditional Chinese Solaris User's Guide

Appendix C Running Networked Applications

You can run Traditional Chinese localized applications on a remote machine as explained in Solaris Advanced User's Guide. That guide also describes the advanced features of the OpenWindows environment that enable you to run applications that reside on another machine on your network.

Applications running on Traditional Chinese OpenWindows 2.x can be displayed remotely on a Traditional Chinese OpenWindows 3.x system. However, Traditional Chinese OpenWindows 3.x applications may not display remotely in a Traditional Chinese OpenWindows 2.x environment because not all 3.x system fonts are available in 2.x environments.

Note -

The zh_TW.BIG5 locale does not support running networked applications as described in this appendix.

Note -

Most users do not need to read this appendix. If you want to explore running networked applications, ask your system administrator about special applications possibly available on your network.

Instructions for Running Networked Applications

To run networked applications, you must follow the information and directions in Solaris Advanced User's Guide. You must additionally make the following adjustments to enable operation of the Traditional Chinese features of the Chinese OpenWindows environment.

Setting Required Environment Variables

To run a networked application on a remote machine, you must set your environment variables correctly, as follows:

Sample Command Sequences for Remote Operation

Displaying Remote OpenWindows 2.x on a Local OpenWindows 3.x System

The following sequence of commands shows how to start a Shell Tool on a remote machine running Traditional Chinese Solaris 1.x (including Traditional Chinese OpenWindows 2.x). In this example, the local machine is running Solaris 2.x, including Traditional Chinese OpenWindows 3.x, and the remote machine, used to run the Shell Tool, has Traditional Chinese Solaris 1.x, including Traditional Chinese OpenWindows 2.x:

  1. Type the following command.

    local_machine% xhost +remote_machine 
  2. Log in to the remote machine.

    local_machine% rlogin remote_machine 


    local_machine% telnet remote_machine 
  3. Set the language locale on the remote machine.

    remote_machine% setenv LANG tchinese 
  4. Set the remote machine to display on your local machine.

    remote_machine% setenv DISPLAY local_machine:0.0 
  5. Set the OpenWindows environment home directory.

    remote_machine% setenv OPENWINHOME /usr/openwin 
  6. Set the path to the OpenWindows LD library.

    remote_machine% setenv LD_LIBRARY_PATH $OPENWINHOME/lib 
  7. Start up the OpenWindows application, for example Shell Tool:

    remote_machine% $OPENWINHOME/bin/xview/shelltool -lc_basiclocale \oldlocale
     -lc_inputlang oldlocale
     -lc_displaylang oldlocale 

    Note -

    The status region does not show which Chinese input method is used.

    To run a different application, use that application's command in place of shelltool.