xhost
Manage access control lists for X server connections. More information: https://manned.org/xhost.
- Display the current access control list:
xhost
- Allow a specific host to connect to the X server:
xhost +
- Deny a specific host from connecting to the X server:
xhost -
- Allow all hosts to connect (disable access control - insecure):
xhost +
- Deny all hosts except those explicitly allowed (enable access control):
xhost -
- Remove a specific user or address using a family prefix (like
inet:hostnameorsi:localuser:username):
xhost -
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
