xauth Flashcards
xauth
The xauth program is used to edit and display the authorization information used in connecting to the X server.
![](https://s3.amazonaws.com/brainscape-prod/system/cm/313/413/688/a_image_thumb.png?1591495330)
xauth
- f authfilename
- v
- q
- i
- b
- n
- f authfilename, Name of authority file to use.
- v, Turn on extra messages.
- q, Turn off extra messages.
- i, Ignore locks on authority file
- b, Break locks on authority file.
- n, Do not resolve host names in authority file.
xauth [command arg …]
add dpyname protoname hexkey = add entry
exit = save changes and exit program
extract filename dpyname… = extract entries into file
help [topic] = print help
info = print information about entries
list [dpyname…] = list entries
merge filename… = merge entries from files
nextract filename dpyname… = numerically extract entries
nlist [dpyname…] = numerically list entries
nmerge filename… = numerically merge entries
quit = abort changes and exit program
remove dpyname… = remove entries
source filename = read commands from file
? = list available commands
xauth generate displayname protocolname
[trusted | untrusted]
[timeout seconds]
[group group-id]
[data hexdata]
generate = Similar to add
[trusted | untrusted] - Provides different access levels.
[timeout seconds] - Specifies how long authorization will be valid.
[group group-id] - Specifies application group.
[data hexdata] - Specifies data that the server should use to generate the authorization.