Re: What does "X11UseLocalhost no" do?
- From: Randy Yates <yates@xxxxxxxx>
- Date: Mon, 05 Feb 2007 11:16:35 -0500
"Richard E. Silverman" <res@xxxxxxxx> writes:
"RY" == Randy Yates <yates@xxxxxxxx> writes:
RY> I found that I can't ssh (with X11 port forwarding) from my home
RY> FC4/linux box to a bsd machine, run xclients on the bsd machine,
RY> and have them X display back to my home machine without specifying
RY> the "X11UseLocalhost no" option in the /etc/ssh/sshd_config file.
RY> I don't understand what the manpage says about this option. Can
RY> someone please explain?
When doing X forwarding, sshd listens on a TCP socket for connections from
X clients. Normally, it will accept connections addressed to the loopback
address only (127.0.0.1), restricting it to clients on the local host.
X11UseLocalhost no means it will accept connections from anywhere.
Thank you for this explanation, Richard. However, I'm afraid I still
don't quite understand.
Since I am constantly getting confused over who's the "source" and
who's the "destination" allow me to establish the following convention.
If an "entity" resides on a source I'll use the suffice ".src" and
likewise ".dst" for the destination.
So in this scenario I'm running the ssh.src client on host.src and
connecting to the sshd.dst server running on host.dst, and I had
established the option "X11UseLocalhost no" in the sshd_config.dst
file. I am then attempting to run X11 clients on host.dst.
In that scenario I *was* running xclients on the local host, i.e., on
host.dst. The DISPLAY.dst variable was set to localhost:10.0 and
127.0.0.1:10.0 and in both cases X client connections were refused
when the X11UseLocalhost yes option was set in sshd_config.dst.
However, host.dst is the host at my ISP where he runs "virtual
machines" under bsd. Could it be that this virtual machine is
causing the problem?
--
% Randy Yates % "Remember the good old 1980's, when
%% Fuquay-Varina, NC % things were so uncomplicated?"
%%% 919-577-9882 % 'Ticket To The Moon'
%%%% <yates@xxxxxxxx> % *Time*, Electric Light Orchestra
http://home.earthlink.net/~yatescr
.
- Follow-Ups:
- Re: What does "X11UseLocalhost no" do?
- From: Neil W Rickert
- Re: What does "X11UseLocalhost no" do?
- References:
- What does "X11UseLocalhost no" do?
- From: Randy Yates
- Re: What does "X11UseLocalhost no" do?
- From: Richard E. Silverman
- What does "X11UseLocalhost no" do?
- Prev by Date: Re: What does "X11UseLocalhost no" do?
- Next by Date: Re: What does "X11UseLocalhost no" do?
- Previous by thread: Re: What does "X11UseLocalhost no" do?
- Next by thread: Re: What does "X11UseLocalhost no" do?
- Index(es):
Relevant Pages
|
|