What did I mess up?
Bob Proulx
bob at proulx.com
Thu Sep 5 08:38:01 AEST 2024
Dave Close wrote:
> The error shown with "ssh -Xvvv" in all failure cases is,
> debug3: send packet: type 91
> debug2: X11 auth data does not match fake data.
> X11 connection rejected because of wrong authentication.
> debug2: X11 rejected 1 i0/o0
I don't know but I do have questions. So maybe... What is the output
of these commands?
type xauth
xauth info
xauth list
ls -ld ~/.Xauthority
And if that file is zero sized then does this help?
xauth generate $DISPLAY
Bob
P.S. Examples showing possible output such as from here.
rwp at torpid:~$ type xauth
xauth is hashed (/usr/bin/xauth)
rwp at torpid:~$ xauth list
torpor/unix:11 MIT-MAGIC-COOKIE-1 7407600ff3ffb98ca1a7993b4ff46f2a
torpid/unix:10 MIT-MAGIC-COOKIE-1 f3e9640e114f1b2704b7b06751f96c06
torpid/unix:0 MIT-MAGIC-COOKIE-1 feb389d5487ba1d2e0109b28217a628b
rwp at torpid:~$ xauth info
Authority file: /home/rwp/.Xauthority
File new: no
File locked: no
Number of entries: 3
Changes honored: yes
Changes made: no
Current input: (argv):1
rwp at torpid:~$ ls -ld ~/.Xauthority
-rw------- 1 rwp rwp 155 Sep 4 06:34 /home/rwp/.Xauthority
More information about the openssh-unix-dev
mailing list