Simplified Chinese Solaris User's Guide

How to Display Remote OpenWindows V2.x on a Local OpenWindows V3.x System

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:

  1. Type the following command.


    local_machine% xhost +remote_machine
    
  2. Log in on 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 chinese
    
  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 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.