|
|
有一台主机 S 和 一台客户机 L,S 进入了 X Window,而 L 没有,这时,在 L 上运行:
L$ xclock -display S:0 &
窗口将显示在 S 上,但这时是没有认证机制的。
于是,用 xhost:
S# xhost -
打开 control list,因为 L 不在 list 中,所以下次会被拒绝。
这时,我想使用 xauth:
S$ xauth extract - $DISPLAY | ssh -l USER L /usr/X11R6/bin/xauth merge -
但在 L 上试图使程序显示到 S 时仍然被拒绝。
请问原因是什么?还是我哪里理解错误了?怎么解决? 谢谢。 |
|