TrumanWong

xauth

Display and edit the authentication information used to connect to the X server

Supplementary instructions

xauth command is used to display and edit the authentication information used to connect to the X server.

grammar

xauth(options)(parameters)

Options

-f: Do not use the default authentication file, but use the specified authentication file;
-q: Quiet mode, do not print unrequested status information;
-v: Verbose mode, prints various specified operation information;
-i: Ignore authentication file locking;
-b: Perform any operation and the terminal authentication file is locked.

Parameters

  • add: add certification entries to the certification file;
  • extract: Add the specified device content to the specified password file;
  • info: Displays information related to authorization files;
  • exit: exit interactive mode;
  • list: List the contents of a given display device;
  • merge: merge the contents of multiple authorization files;
  • extract: Write the specified device content into the specified authorization file;
  • nextrct: Write the specified device content to the specified authorization file;
  • nmerge: merge the contents of multiple authorization files;
  • remove: delete the authorization entry of the specified display device;
  • source: Read content instructions containing xauth from the specified file.