Re: ssh X11forwarding won't work, please help

From: Nils Gorges (noctamid_at_gmx.de)
Date: 08/02/04


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.
>>>
>>>James
>>
>>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:

export DISPLAY=192.168.1.1:10.0

i get an error message after a long time: "Can't open display:
192.168.1.1:10.0

I also tried

export DISPLAY=192.168.1.1:0.0

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.

Nils



Relevant Pages

  • Re: LogOn Scripts? - POP3 timeout?
    ... this error message is sent from the source or reflected as a reponse by OE ... No, I'm saying that I don't have a problem with *either* connections, as ... "No joy" means that the OE timeout values are not accessible to the user. ... > dialog was presented and got a message about downloading newsgroups! ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Remote Desktop Connection to Server isnt working
    ... RDP to your Server. ... then trying remote desktop and got the same error message. ... "The client could not connect to the remote computer. ... might not be enabled might be too busy to accept new connections. ...
    (microsoft.public.windows.server.sbs)
  • Re: outlook express wont send
    ... XCLN: Error Message: Messages Can Be Received But Not Sent ... SMTP server unavailable. ... The maximum number of inbound connections the Internet Mail Service ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: SQL server connection problem
    ... I've tried to change the user connections to 0, ... "SQL server connection time out. ... The following message appears when restart the server and before login ... I receive Error message: “A connection could not be established to ...
    (microsoft.public.sqlserver.clients)
  • Re: Cant RDP to severs desktop through RWW
    ... I get the same error message ... Message box title: VBScript: Remote Desktop Disconnected ... Remote connections might not be enabled or the computer might be too busy to ... > Microsoft CSS Online Newsgroup Support ...
    (microsoft.public.windows.server.sbs)