[Novalug] ssh X forwarding stopped working

Jon LaBadie novalugml@jgcomp.com
Tue Oct 20 23:36:04 EDT 2009


On Tue, Oct 20, 2009 at 10:25:05PM -0400, Nick Danger wrote:
> Jon LaBadie wrote:
> 
> >New info, the same problem occurs from an Ubuntu Jaunty to the
> >Solaris box, but not between the two linux boxes.  So it appears
> >to be some problem on the Solaris box.
> 
> Are you doing an ssh -X or are you just ssh'ing and letting the X handle 
> itself?

Have tried both letting the config take care of it and using the
options on the command line.  My normal way is a desktop icon
launching a "gnome-terminal -e '/usr/bin/ssh -X jon@butch' -t butch".
But as noted, I've been entering commands from the shell as well.

> After you get into the solaris box, try a "DISPLAY=locahost:10.0  xterm" 
> or whatever command you were running. From your output/comments I havent 
> figured out if it sets the tunnel but screws up the environment, or if 
> it never sets up the tunnel.

My primary test command was xclock.  If DISPLAY is unset, it prints an
error immediately (Can't open display: ).  With DISPLAY set, it never
displays, outputs any messages, nor returns.  I have to kill it.

As suggested, I tried xterm.  With no DISPLAY set I get "xterm Xt error:
Can't open display:".  With it DISPLAY set to "localhost:10.0" I get the
same error with the value of $DISPLAY appended to the message.  If I set
DISPLAY to point directly to mums screen (mums.jgcomp.com:0.0, mums:0.0,
or <mums IP_ADDR>:0.0) then xterm outputs nothing and doesn't return.

jl
-- 
Jon H. LaBadie                  jon@jgcomp.com
 JG Computing
 12027 Creekbend Drive		(703) 787-0884
 Reston, VA  20194		(703) 787-0922 (fax)



More information about the Novalug mailing list