xauth
Edit and display the authorization information used in connecting to the X server. More information: https://manned.org/xauth.
- Start interactive mode with a specific authority file (defaults to
~/.Xauthority):
xauth -f
- Display information about the authority file:
xauth info
- Display authorization entries for all the displays:
xauth list
- Add an authorization for a specific display:
xauth add
- Remove the authorization for a specific display:
xauth remove
- Print the authorization entry for the current display to
stdout:
xauth extract - $DISPLAY
- Merge the authorization entries from a specific file into the authorization database:
cat | xauth merge -
- Display help:
xauth --help
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
