Traditional Chinese Solaris User's Guide

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 
    

    or


    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.