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