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