X11 forwarding not working
- From: Jason Roscoe <jason.roscoe@xxxxxxxxx>
- Date: Fri, 16 Mar 2007 20:05:01 -0400
Hi,
I'm using Cygwin and Debian and I can't get X11 forwarding to work as expected. I was hoping someone might have some ideas as to how I can debug this problem.
Windows XP/Cygwin (client,robalo), OpenSSH_4.4p1, OpenSSL 0.9.8d 28 Sep 2006
Debian (server,gumbo), OpenSSH_3.8.1p1 Debian-8.sarge.6, OpenSSL 0.9.7e 25 Oct 2004
A transcript demonstrating the problem is here:
{robalo:~} ssh -F/dev/null -X gumbo
Last login: Fri Mar 16 18:33:26 2007 from robalo.rosecommon
{gumbo:jason} echo $DISPLAY
gumbo:10.0
{gumbo:jason} netstat -a|grep 6010
tcp6 0 0 *:6010 *:* LISTEN
{gumbo:jason} xdpyinfo
xdpyinfo: unable to open display "gumbo:10.0".
{gumbo:jason}
If I set X11UseLocalhost yes (the default), I get the following:
{robalo:~} ssh -F/dev/null -X gumbo
Last login: Fri Mar 16 18:45:04 2007 from robalo.rosecommon
{gumbo:jason} echo $DISPLAY
localhost:10.0
{gumbo:jason} netstat -a|grep 6010
tcp 0 0 localhost.localdom:6010 *:* LISTEN
tcp6 0 0 ip6-localhost:6010 *:* LISTEN
{gumbo:jason} xdpyinfo|head
name of display: localhost:10.0
version number: 11.0
vendor string: The Cygwin/X Project
vendor release number: 60802000
maximum request size: 16777212 bytes
motion buffer size: 256
{gumbo:jason}
Normally, I have the following options set on the server:
X11Forwarding yes
X11DisplayOffset 10
GatewayPorts yes
X11UseLocalhost no
Now, if I explicitly forward the X11 connection, I can make it work as
expected.
{robalo:~} ssh -F/dev/null -R6010:localhost:6000 gumbo
Last login: Fri Mar 16 18:50:57 2007 from robalo.rosecommon
{gumbo:jason} echo $DISPLAY
{gumbo:jason} netstat -a|grep 6010
tcp6 0 0 *:6010 *:* LISTEN
{gumbo:jason} export DISPLAY=gumbo:10
{gumbo:jason} xdpyinfo|head
name of display: gumbo:10.0
version number: 11.0
vendor string: The Cygwin/X Project
vendor release number: 60802000
maximum request size: 16777212 bytes
motion buffer size: 256
{gumbo:jason}
Can anyone offer some suggestions on what I may need to setup differently either on the client or on the server?
Thanks!
Jason
.
- Follow-Ups:
- Re: X11 forwarding not working
- From: Richard E. Silverman
- Re: X11 forwarding not working
- Prev by Date: Re: compiling openssh 4.5 on x86_64
- Next by Date: X11 forwarding not working with X11UseLocalhost no
- Previous by thread: compiling openssh 4.5 on x86_64
- Next by thread: Re: X11 forwarding not working
- Index(es):
Relevant Pages
|
|