[wplug] ssh with X forwarding not working.

John Harrold jmh17 at pitt.edu
Mon May 24 10:56:43 EDT 2004


I'm trying to ssh from computer A to computer B. Computer A is running
Redhat 9 and computer B is running Debian (sid). When I ssh from A to B I'm
using the following command:

 ssh -X user at B

On B the /etc/ssh/sshd_config file has:

 X11Forwarding yes

Yet, the X11 forwarding is not working giving me the following error when I
try to run xterm:

useer at B:$ xterm
xterm Xt error: Can't open display:


Now I can ssh from A to other computers and X11 forwarding works fine, so I
tend to believe that the problem is a configuration issue on the debian
machine. There is nothing in /etc/hosts.deny, so I don't believe tcp
wrappers are the problem. 

One solution would be to export my display, but since B is on one side of
the firewall and A is on the other, that isn't really an option. Once
again, I can ssh to other computers on the other side of the firewall and
X11 forwarding works fine.


-- 
---------------------------------------------------------- 
                            | /"\                         
 john harrold               | \ / ASCII ribbon campaign   
 jmh at member.fsf.org      |  X  against HTML mail       
 the most useful idiot      | / \                         
----------------------------------------------------------
 What difference does it make to the dead, the orphans, 
 and the homeless, whether the mad destruction is brought 
 under the name of totalitarianism or the holy name of 
 liberty and democracy?
 --Gandhi
----------------------------------------------------------
  gpg --keyserver keys.indymedia.org --recv-key F65A739E
----------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://penguin.wplug.org/pipermail/wplug/attachments/20040524/f91011e1/attachment-0001.bin


More information about the wplug mailing list