ssh -Y doesn't work

Pierre Abbat phma at phma.optus.nu
Mon Jan 16 10:07:39 PST 2012


On Monday, January 16, 2012 12:33:03 Chris Turner wrote:
> On 01/16/12 11:21, Pierre Abbat wrote:
> > Warning: No xauth data; using fake authentication data for X11
> > forwarding.
> 
> ^ this is the problem
> 
> Make sure that your DISPLAY is correct on this box, and that X clients can
> connect to your X server from here before trying ssh.

I already know that. I'm running Kmail on DragonFly now.

> Also always a good idea to make sure you *need* ssh -Y instead of plain-
old
> ssh -X.

What's the difference?

> Alternately you can likely muck with the X cookies on the remote end -
> see also xauth(1).

I don't understand X cookies, but I tried again and it worked:
bash-4.2$ xauth nextract - $DISPLAY
0100 0011 6461726e65722e6978617a6f6e2e6c616e 0001 30 0012 
4d49542d4d414749432d434f4f4b49452d31 0010 <snip16bytesofhex>
bash-4.2$ ssh -Y chausie
Last login: Mon Jan 16 12:19:01 2012 from darner.ixazon.lan
phma at chausie:~$ xauth nextract - $DISPLAY
No matches found, authority file "-" not written
phma at chausie:~$ xclock&
[1] 11334
(I ran kooka directly on chausie already and scanned what I needed.)

Pierre
-- 
I believe in Yellow when I'm in Sweden and in Black when I'm in Wales.





More information about the Users mailing list