add new chinese translations
This commit is contained in:
36
pages.zh/linux/xauth.md
Normal file
36
pages.zh/linux/xauth.md
Normal file
@@ -0,0 +1,36 @@
|
||||
# xauth
|
||||
|
||||
> 编辑和显示用于连接 X 服务器的授权信息。
|
||||
> 更多信息:<https://manned.org/xauth>。
|
||||
|
||||
- 使用特定的授权文件启动交互模式(默认为 `~/.Xauthority`):
|
||||
|
||||
`xauth -f {{path/to/file}}`
|
||||
|
||||
- 显示有关授权文件的信息:
|
||||
|
||||
`xauth info`
|
||||
|
||||
- 显示所有显示器的授权条目:
|
||||
|
||||
`xauth list`
|
||||
|
||||
- 为特定显示器添加授权:
|
||||
|
||||
`xauth add {{display_name}} {{protocol_name}} {{key}}`
|
||||
|
||||
- 删除特定显示器的授权:
|
||||
|
||||
`xauth remove {{display_name}}`
|
||||
|
||||
- 将当前显示器的授权条目打印到 `stdout`:
|
||||
|
||||
`xauth extract - $DISPLAY`
|
||||
|
||||
- 将特定文件中的授权条目合并到授权数据库中:
|
||||
|
||||
`cat {{path/to/file}} | xauth merge -`
|
||||
|
||||
- 显示帮助信息:
|
||||
|
||||
`xauth --help`
|
Reference in New Issue
Block a user