Mailing List Archive

openssh 1.2.1. pre25 and X11 forward
Hello,

I moved my ssh servers to openssh and installed:
openssh-1.2.1pre25 via .rpm

My problem is that X11 forwarding doesn't work.

-/etc/ssh/sshd_config
X11Forwarding yes
X11DisplayOffset 10

I start sshd with defaul port and can connect to the server
and then:

$ xosview
X11 connection rejected because of wrong authentication.
X connection to servername.de:10.0 broken (explicit kill or
server shutdown).

Sorry but there is no hint or FAQ for that problem on www.openssh.org.

Thanks for help.

--
Noch einen schönen Tag

Noel Köthe
Re: openssh 1.2.1. pre25 and X11 forward [ In reply to ]
noel@koethe.net said:
> My problem is that X11 forwarding doesn't work.

On the remote machine (through ssh connection), check the value of the
DISPLAY environment variable, and also the IP address that the name in
that variable maps to (through /etc/hosts or DNS). If the name is
resolves to 127.0.0.1 then the X server seems to put the data through a
local unix socket rather than a inet socket - which also appears to
need different authentication.

Workround is to make sure that the DISPLAY name maps to a non-loopback
IP address or even 127.0.0.2

Nigel.
--
[. - Opinions expressed are personal and may not be shared by VData - ]
[ Nigel Metheringham Nigel.Metheringham@VData.co.uk ]
[ Phone: +44 1423 850000 Fax +44 1423 858866 ]