歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網

xhost

日期:2017/2/27 9:47:27   编辑:更多Linux
  xhost 是用來控制X server訪問權限的。 通常當你從hostA登陸到hostB上運行hostB上的應用程序時, 做為應用程序來說,hostA是client,但是作為圖形來說, 是在hostA上顯示的,需要使用hostA的Xserver,所以hostA是 server.因此在登陸到hostB前,需要在hostA上運行xhost + 來使其它用戶能夠訪問hostA的Xserver. xhost + 是使所有用戶都能訪問Xserver. xhost + ip使ip上的用戶能夠訪問Xserver. xhost + nis:user@domain使domain上的nis用戶user能夠訪問 xhost + inet:user@domain使domain上的inet用戶能夠訪問。 還有一些option,還是仔細看一下manual吧。




Copyright © Linux教程網 All Rights Reserved