I have a strange problem.
When ssh to a host as root, I cannot forward netscape through port
forwarding.
Normal X apps work fine. And the $DISPLAY is set to a correct value.
Here is what I have
from host1 I do
ssh -l root host2
<I get authenticated>
host2> netscape &
X11 connection rejected because of wrong authentication at Wed Aug 25
08:30:27 1999.
a
Rejected connection at Wed Aug 25 08:30:27 1999: X11 connection from host2
port 56512
X connection to host2:11.0 broken (explicit kill or server shutdown).
host2> print $DISPLAY
host2:11.0 # I have my offset set to 10
One funny thing is that the netstat shows something on Send-Q for some
time and Receive-Q for others.
At one point,
netstat -n shows
host2.22 host1.1023 8760 19 8760 0 ESTABLISHED
host2.6011 host2.56514 32768 0 32768 0 TIME_WAIT
and
host2.22 host1.1023 8760 0 8760 20 ESTABLISHED
host2.6011 host2.56514 32768 0 32768 0 TIME_WAIT
alternatingly
the second line is the forwarded connection between the two ports in host2
and the first line is the actual ssh connection.
Any thoughts?
Jaewan Kim