From 2bd2336a5e873ab0aac856cca1d15205b0958516 Mon Sep 17 00:00:00 2001 From: Axel Navarro Date: Mon, 7 Nov 2022 06:08:16 +0000 Subject: [PATCH] xauth: add page (#9499) --- pages/linux/xauth.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pages/linux/xauth.md diff --git a/pages/linux/xauth.md b/pages/linux/xauth.md new file mode 100644 index 000000000..b862364d9 --- /dev/null +++ b/pages/linux/xauth.md @@ -0,0 +1,36 @@ +# xauth + +> Edit and display the authorization information used in connecting to the X server. +> More information: . + +- 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`