X Forwarding - Cygwin/X and putty

William O'Higgins william.ohiggins-H217xnMUJC0sA/PxXw9srA at public.gmane.org
Tue Jan 11 16:03:56 UTC 2005


On Tue, Jan 11, 2005 at 10:48:05AM -0500, Ilya Palagin wrote:
>Quoting William O'Higgins <william.ohiggins-H217xnMUJC0sA/PxXw9srA at public.gmane.org>:
>> If I launch X in Cygwin and then fire up putty I get a terminal with no
>> $DISPLAY variable set.  If I launch X in Cygwin and then "ssh -Y -l user
>> hostname" I get a terminal with no $DISPLAY variable set and the error:
>>
>> Warning: No xauth data; using fake authentication data for X11
>> forwarding.
>>
>> In /etc/ssh/ssh_config I have put in the lines to forward X and Agent
>> requests, but I'm still obviously missing something.  Any pointers?
>>
>The first thing you should try is to enable checkbox SSH->Tunnels->X11
>forwarding in PuTTY, log in and check DISPLAY variable. If it isn't set up,
>check ssh on the server:

Putty was set up correctly, but there was no $DISPLAY

>/etc/ssh/ssh_config:
>Host * ForwardAgent yes
>ForwardX11 yes

Done.

>/etc/ssh/sshd_config:
>X11Forwarding yes
>X11DisplayOffset 10

<smack location="forehead/self" severity="bracing" />  I forgot to
enable forwarding for the daemon.  Thank you, I'm a ninny.  Now it works
swimmingly.
-- 

yours,

William

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://gtalug.org/pipermail/legacy/attachments/20050111/8a108e97/attachment.sig>


More information about the Legacy mailing list