xauth -VERSION (return code: 0)
1.0.9
xauth --help (return code: 1)
usage: xauth [-options ...] [command arg ...]
where options include:
-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
-V show version number of xauth
and commands have the following syntax:
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
version show version number of xauth
? list available commands
generate dpyname protoname [options] use server to generate entry
options are:
timeout n authorization expiration time in seconds
trusted clients using this entry are trusted
untrusted clients using this entry are untrusted
group n clients using this entry belong to application group n
data hexkey auth protocol specific data needed to generate the entry
A dash may be used with the "merge" and "source" to read from the
standard input. Commands beginning with "n" use numeric format.