OpenVMS
1748280 會員
4050 線上
108761 解決方案
發表新文章

VMS有像UNIX "xhost +"的動作嗎

 
watermelonyu
教授

VMS有像UNIX "xhost +"的動作嗎

我要讓VMS motif可以讓其他xwindows的畫面導過來

要怎樣做才可以打開該權限
3則回覆 3
watermelonyu
教授

VMS有像UNIX "xhost +"的動作嗎

xhost 可從 OpenVMS Freeware CD 4.0 或

http://h71000.www7.hp.com/freeware/freeware40/xhost/ 下載.



正常的方法, 應由 "Style Manager" (CDE 上, 像調色盤的 icon) -> "Security control" 去設定, 如下,



1. Click the Style Manager Security control. The Security Options dialog box is displayed.



2. Under Server Access Control, click Users...to display the Configure Users dialog box.



3. Type the node, the username, and the method of transport, of the user you want to authorize.



4. Click on the Add button. The user name is added to the Authorized Users list.



5. Click on OK to save and apply the changes and close the Configure Users dialog box.



在 node, username, transport 欄內都鍵入 *, 即相當於 "xhost +".

watermelonyu
教授

VMS有像UNIX "xhost +"的動作嗎

我如果填入unix 的user name like "root"

vms可以接受從unix display 過來嗎
watermelonyu
教授

VMS有像UNIX "xhost +"的動作嗎

若經由 DECnet, OpenVMS X-server 可以 by (nodename) (username) (transport).

但若經由 TCPIP, OpenVMS X-server 只允許 * 在 username 欄, 即 (nodename) * TCPIP.





忘了說明, by default, OpenVMS CDE 只允許經由 DECnet Transport 來 set display.

欲使用 TCPIP 必須以下三步驟,



1. $ copy SYS$COMMON: DECW$PRIVATE_SERVER_SETUP.TEMPLATE -

SYS$COMMON:DECW$PRIVATE_SERVER_SETUP.COM



2. 編輯 SYS$COMMON:DECW$PRIVATE_SERVER_SETUP.COM,

將以下這行的驚嘆號拿掉,

$ ! decw$server_transports == "DECNET,LOCAL,TCPIP"

亦即改成

$ decw$server_transports == "DECNET,LOCAL,TCPIP"



3. 重啟 X-server,



$ @sys$startup:decw$startup restart

(回答 yes)