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 Korean features of the Korean 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 ko.
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)
The following sequence of commands is an example of starting up a Shell Tool on a remote Korean Solaris 1.x (including Korean OpenWindows 2.x) machine. In this example, your local machine is running Solaris 2.x, including Korean OpenWindows 3.x, and the remote machine, where you start up the Shell Tool, has Korean Solaris 1.x, including Korean 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 korean |
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 up the OpenWindows application, for example Shell Tool:
remote_machine% $OPENWINHOME/bin/xview/shelltool -lc_basiclocale \oldlocale -lc_inputlang oldlocale -lc_displaylang oldlocale |
To run a different application, use that application's command in place of shelltool.
The following sequence of commands is an example of starting up a Shell Tool on a remote Korean Solaris 2.x (including Korean OpenWindows 3.x) machine from your local machine which is running Korean Solaris 1.x (including Korean OpenWindows 2.x). In this example, the remote machine, where you start up the Shell Tool, has only Korean OpenWindows 3.x.
Make a directory on the Korean Solaris 2.x machine.
local_machine% mkdir /home/fonts |
Change directory.
local_machine% cd /home/fonts |
Create Compat.list and Families.list.
local_machine% cat > /home/fonts/Compat.list /-b&h-lucindatypewriter-medium-r-normal-asian-14-140-72-72-m-70\ -iso8859-1 /hnggthr _FontDirectorySYN ^D local_machine% bldfamily |
Add directory to server font path.
local_machine% xset +fp /home/fonts |
Allow server access from the remote machine.
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 ko |
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 Korean OpenWindows LD library.
remote_machine% setenv LD_LIBRARY_PATH $OPENWINHOME/lib |
Start the htt X input method server.
remote_machine% $OPENWINHOME/bin/htt & |
Start the OpenWindows application you want, for example, Shell Tool:
remote_machine% $OPENWINHOME/bin/shelltool |
In XView-based applications you do not need to give an explicit font set definition.