mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-18 06:49:49 +00:00
Update cheatsheets
This commit is contained in:
41
linux/xauth
Normal file
41
linux/xauth
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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`
|
||||
Reference in New Issue
Block a user