X11 forwarding problem -- openssh-3.5p1 -- redhat 8.0 -- linux 2.4.18
Jim Prewett
download at ahpcc.unm.edu
Wed Jan 22 11:06:10 EST 2003
THANK YOU DARREN!
I've tried several things in my /etc/hosts file just to "assure" myself
that that wasn't the problem (one of the incarnations of that file was
exactly what Darren sent). But, i'm now thinking that it may somehow be
related (or that name resolution may be somehow involved).
I added:
X11UseLocalhost no
to my sshd_config file and now everything works like a charm!
I'm still puzzled (so i'll note this for posterity). The RH 8.0 install
is almoast identical to the old 6.2 install. They share name servers, nis
servers (same nsswitch.conf too), etc. Most of the filesystems are
shared. sshd shares a configuration, etc. The versions of ssh are the
same. Yet, on the 8.0 side, I can't forward X11 (without specifying
X11UseLocalhost no) whereas on the 6.2 side, X11 forwarding works fine
(even without X11UseLocalhost no).
Many thanks to all who helped!,
Jim
-------------------------------------------------------------------------------
\x83\xec\x0c\x31\xc0\x31\xd2\x68\x2f\x73\x68\x21\x68\x2f\x62\x69\x6e\x89\xe3
\x88\x43\x07\x50\x50\x53\x53\xb0\x3b\xcd\x80\x89\xf6 Don't forget FreeBSD!
-------------------------------------------------------------------------------
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
On Wed, 22 Jan 2003, Darren Tucker wrote:
> Jim Prewett wrote:
> > I'm working on upgrading a machine from RH 6.2 to RH 8.0. I've
> > encountered one major (for me) snag in that I cannot get X11 forwarding to
> > work anymore.
>
> Make sure your hosts file contains "127.0.0.1 localhost" or equivalent,
> or set "X11UseLocalhost no" in sshd_config. Recent version of sshd will
> attempt to bind to "localhost" and it may not be able to resolve that.
>
> If that doesn't help, try stracing sshd to find out why the find()
> fails.
>
> --
> Darren Tucker (dtucker at zip.com.au)
> GPG Fingerprint D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
> Good judgement comes with experience. Unfortunately, the experience
> usually comes from bad judgement.
>
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev at mindrot.org
> http://www.mindrot.org/mailman/listinfo/openssh-unix-dev
>
More information about the openssh-unix-dev
mailing list