Re: X11 display forwarding
- From: Darren Tucker <dtucker@xxxxxxxxxxxxxxxx>
- Date: 11 Apr 2006 11:54:00 GMT
On 2006-04-10, Kevin the Drummer <nobody@xxxxxxx> wrote:
Darren Tucker <dtucker@xxxxxxxxxxxxxxxx> wrote:
On 2006-04-06, Kevin the Drummer <nobody@xxxxxxx> wrote:
I'm having a bit of trouble with X11 display forwarding. This started
when I upgraded to OpenSSH 4.3p1. I've read the FAQ and I know about
the usual problem when upgrading involving ForwardX11Trusted. This is
how I have my config's set:
/etc/ssh/ssh_config: ForwardAgent yes
/etc/ssh/ssh_config: ForwardX11 yes
/etc/ssh/ssh_config: ForwardX11Trusted yes
/etc/ssh/sshd_config: X11Forwarding yes
/etc/ssh/sshd_config: X11UseLocalhost no
Change X11UseLocalhost to "yes" and it will probably work.
This seems counterintuitive. Why should that work?
I suspect your problem stems from the fact that your hostname resolves
to more than one IP address, and xauth and sshd end up disagreeing
about which should be used. This probably won't be the case with
"localhost", and as long as you're using only ssh to make the next hop
(as opposed to pointing $DISPLAY at the firewall and munging xauth
yourself) it should still work.
Richard's solution is nicer, though.
Sorry to be dense
about this. On which host should I change to "yes"? The firewall host?
The remote client host? The local host, the one that initiates the ssh
commands?
The firewall.
Wild guess: the firewall's hostname resolves to two or more IP addresses?
Yes. The firewall is my VPN host. As such, it resolves to the VPN
client address as known by the company end, and it resolves to a
192.168.1.X number, as known by the home network.
Your reboot when the problems first started occuring didn't happen to
correspond to a change in hostname, name resolution (/etc/hosts or
DNS) or a change in system libraries?
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
.
- Follow-Ups:
- Re: X11 display forwarding
- From: Kevin the Drummer
- Re: X11 display forwarding
- References:
- X11 display forwarding
- From: Kevin the Drummer
- Re: X11 display forwarding
- From: Darren Tucker
- Re: X11 display forwarding
- From: Kevin the Drummer
- X11 display forwarding
- Prev by Date: Bad SSH2 cipher spec error
- Next by Date: Re: Bad SSH2 cipher spec error
- Previous by thread: Re: X11 display forwarding
- Next by thread: Re: X11 display forwarding
- Index(es):
Relevant Pages
|