xauth: add page (#9499)

pull/1/head
Axel Navarro 2022-11-07 06:08:16 +00:00 committed by GitHub
parent 36f4acb33d
commit 2bd2336a5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 36 additions and 0 deletions

36
pages/linux/xauth.md Normal file
View File

@ -0,0 +1,36 @@
# 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 {{path/to/file}}`
- 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 {{display_name}} {{protocol_name}} {{key}}`
- Remove the authorization for a specific display:
`xauth remove {{display_name}}`
- 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 {{path/to/file}} | xauth merge -`
- Display help:
`xauth --help`