snippetbashTip
xauth — Edit and display the authorization information used in connecting to the X server. More information:
Viewed 0 times
thecommandandclixautheditauthorizationdisplay
linux
Problem
How to use the
xauth command: Edit and display the authorization information used in connecting to the X server. More information: <https://manned.org/xauth>.Solution
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 infoDisplay authorization entries for all the displays:
xauth listAdd 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 - $DISPLAYMerge the authorization entries from a specific file into the authorization database:
cat {{path/to/file}} | xauth merge -Display help:
xauth --helpCode Snippets
Start interactive mode with a specific authority file (defaults to `~/.Xauthority`)
xauth -f {{path/to/file}}Display information about the authority file
xauth infoDisplay authorization entries for all the displays
xauth listAdd an authorization for a specific display
xauth add {{display_name}} {{protocol_name}} {{key}}Remove the authorization for a specific display
xauth remove {{display_name}}Context
tldr-pages: linux/xauth
Revisions (0)
No revisions yet.