在本地OpenWindows V3.x系統顯示遠程操作OpenWindows V2.x
下面的命令順序組成一個實例,啟動在一臺遠程簡體中文 Solaris 1.x (包括簡體中文 OpenWindows 2.x) 機器上的一個 shell 工具。在這個實例里您的本地機器運行 Solaris 2.x (包括簡體中文 OpenWindows 3.x),而遠程機器 (在該機器上您啟動一個 shell 工具) 運行簡體中文 Solaris 1.x,包括簡體中文 OpenWindows 2.x: 1.鍵入如下命令。 local_Machine% xhost + remote_machine 2.登錄到遠程機器上。 local_machine% rlogin remote_machine 或 local_machine% telnet remote_machine 3.設置遠程機器的語言環境。 remote_machine% setenv LANG chinese 4.設置遠程機器使其顯示到您的本地機器上。 remote_machine% setenv DISPLAY local_machine:0.0 5.設置 OpenWindows 環境的起始目錄。 remote_machine% setenv OPENWINHOME /usr/openwin 6.設置到 OpenWindows LD 庫的路徑。 remote_machine% setenv LD_LIBRARY_PATH $OPENWINHOME/lib 7.啟動一個 OpenWindows 應用程序,例如一個 shell 工具: remote_machine% $OPENWINHOME/bin/xvIEw/ shell tool -lc_basiclocale oldlocale -lc_inputlang oldlocale -lc_displaylang oldlocale 要運行不同的應用程序,可用那個應用程序的命令取代 shelltool。
