X Forwarding - Cygwin/X and putty

Ilya Palagin tux-4CS0UopE6WdBDgjK7y7TUQ at public.gmane.org
Tue Jan 11 15:48:05 UTC 2005


Quoting William O'Higgins <william.ohiggins-H217xnMUJC0sA/PxXw9srA at public.gmane.org>:

> I am trying to launch X applications on my windoze desktop at work, and
> having some trouble.  I looked at the first couple of tutorials on
> Google with the search terms "putty x forwarding", and they make it seem
> pretty easy.  I'm doing something wrong however, because its not
> working.
>
> 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:

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

/etc/ssh/sshd_config:
X11Forwarding yes
X11DisplayOffset 10


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list