Re: X11 forwarding over non X11 hop

oto_maly_at_hotmail.com
Date: 10/26/05


Date: 26 Oct 2005 04:20:56 -0700

Hello,
i was not able to find the problem, so i decided to install the new
OpenSSH 4.2p1 server listening on port 8022. When i now check the putty
log, the X11 forwarding is enabled. How ever the connection is very
very slow (the response time is 30-40 seconds. Do you have any idea
why? Can i somehow setup alocated bandwidth?
This is very confusing, because, when i connect to the gateway, with
port-forwarding to rdesktop machine (this is another server behind the
gateway), i open the remote desktop connection, and with-in this, i
open x-win32 to the X11remote host, the response time is very good (0,5
seconds).
Do you have any suggestions?
Thanks

Oto

Sebastian Dähne napísal(a):
> oto_maly@hotmail.com wrote:
>
> > I also tried the same with the ssh command line utility from OpenSSH.
> > The both connections are successfull. But i dont know how to know if
> > the X11 forwarding is working (its not displaying even when using -v
> > parameter). Anyways, when i tried to start xterm, i get
> > bash-2.05$ /usr/openwin/bin/xterm
> > /usr/openwin/bin/xterm Xt error: Can't open display:
> > Now i dont know how to set it up. Shall i set it up to localhost , or
> > to the gateway ?
>
> You should use ssh -vvv (more debug output).
>
> But it looks like your ssh server on remoteX11Host is not configured to
> allow X11 connections. Please have a look at /etc/ssh/sshd_config on
> remoteX11Host. You should find a line like "X11Forwarding yes". If you find
> "X11Forwarding no" .. change it and restart the ssh server.
>
> best regards,
>
> Sebastian Daehne



Relevant Pages

  • Re: 2 SSH questions: why does it pause so much, and, can I keep connection alive?
    ... >I believe the server is behind a firewall. ... When a packet arrives, its source IP, ... then the connection is added to the state table. ... > I¹m running OpenSSH 3.6.1 on Mac OSX. ...
    (comp.security.ssh)
  • Re: Problems with SSHD
    ... I am having a big problem with the OpenSSH Daemon on my server. ... when the connection is always getting dropped. ... process I see this on disconnect ...
    (freebsd-questions)
  • RE: problems when opening an ssh session
    ... this is the sshd_config on the openssh 3.5p1 server (to where the connection ... >So I can open an ssh session with the 3.5p1 server but not with the ...
    (SSH)
  • OpenSSH Problem with disconnects
    ... I am having a big problem with the OpenSSH Daemon on my server. ... when the connection is always getting dropped. ... process I see this on disconnect ...
    (freebsd-questions)
  • Problems with SSHD
    ... I am having a big problem with the OpenSSH Daemon on my server. ... when the connection is always getting dropped. ... process I see this on disconnect ...
    (freebsd-questions)