Re: ssh X11forwarding won't work, please help
From: Nils Gorges (noctamid_at_gmx.de)
Date: Mon, 02 Aug 2004 14:34:52 +0200
Alf Tanner wrote:
> On Sun, 01 Aug 2004 20:03:07 +0200, Nils Gorges wrote:
>>>>+ yes of course i restarted sshd, but no effect. It simply won't work.
>>>>+ There must be another reason? Some other ideas?
>>>iptables firewall? try (as root): iptables -L
>>>That will list the current firewall rules.
>>No firewall rules for that machine. The connections between these
>>machines are not restricted in any way.
> Firewall won't stop X export under ssh.
> I'm really puzzled about your problem. No other network problems?
> Can you ping? Does it work when connecting to ip number rather than name?
I'm sure this is no network problem. I can connect to any other open
port in both directions.
SSH -X set the DISPLAY variable to localhost:10.0
If i start an x application with this setting, the shell freezes and
nothing happens. Why does the shell completly freeze?
If i manually change the DISPLAY variable to the IP of the machine where
the display should be exported:
i get an error message after a long time: "Can't open display:
I also tried
In this case i don't get an error message, the x program runs, but i
don't get the windows. I suppose the program is opend at the remote machine.
This is really a strange problem. Maybe because of the different
versions of openssh and the differen x-servers. But yesterday i also
tried it with a new knoppix version, same problems. So i suppose the
problems are coming from the SuSE 9.1 machine. But i really don't know
where the prolem is coming from.