X11 tunnelling through SSH from Fedora 3 server to Windows Vista client fails to work.

Posted by MiffTheFox on Server Fault See other posts from Server Fault or by MiffTheFox
Published on 2009-07-19T20:42:19Z Indexed on 2010/03/22 11:11 UTC
Read the original article Hit count: 411

Filed under:
|
|
|
|

Okay, I've tried using Xming and PuTTY, as well as Cygwin/X and Cygwin ssh, and it is not working.

I've been able to run X applications locally, so it's not a client-side X problem.

I've connected to the server using

ssh -X user@server

and ended up with this:

local-user@client: ~$ ssh -X user@server
user@server's password:
Last login: Sun Jul 19 15:26:46 2009 from 192.168.100.147
 [user@server ~]$  xclock &
[1] 27770
[user@server ~]$ Error: Can't open display: localhost:10.0    

[1]+  Exit 1                  xclock
[user@server ~]$
[user@server ~]$

Here's the relevant snippet of my sshd_config

#AllowTcpForwarding yes
#GatewayPorts no
#X11Forwarding no
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes

I can't seem to find ssh_config on the client-side. /etc/ssh doesn't exist.

© Server Fault or respective owner

Related posts about ssh

Related posts about x11forwarding