On Tue, 2002-02-26 at 03:16, Christopher Booth wrote:
> In your /etc/ssh/ssh_config file is there a line that says
> ForwardX11 yes

Yes, this is set okay.

> 
> also check for a line 
> CheckHostIP yes
> 
> a guess but try making that no

That was commented out so I made that explicitly no.

> 
> also clients should log on by 
> ssh -X

I am actually connecting from Solaris so it's "+x", however, when I
connect to my box with a static IP configured and the hostname in the
/etc/hosts you don't need to do this as it forwards X11 as per the
config.

It seems that the problem is something to do with X authority adding the
host name as "lonewolf" only and not the fully qualified name (I don't
have a registered hostname) or the IP of the machine instead.

I got this when I removed my local host name from the /etc/hosts file.

/usr/bin/X11/xauth: (stdin):1:  bad display name "lonewolf:12.0" in
"add" command

Is there a setting for it to use the IP of the host?  I ha da read
through the manpage for xauth but it's quite confusing.



> 
> Chris
> 
> On 25 Feb 2002 15:31:36 +1100
> "Simon Wong" <[EMAIL PROTECTED]> wrote:
> 
> > Calling SSH/X gurus!
> > 
> > I am trying to get X11 forwarding over SSH working.
> > 
> > I am using DHCP to obtain an IP and bring up my interface (eth0).
> > 
> > When I SSH to my box, X forwarding works if there is an entry in my
> > /etc/hosts file that matches the IP of that box (when I use a static
> > IP).  But it doesn't work if there is no such entry there.
> > 
> > How do I get it to do this dynamically?
> > 
> > I have read a bit about setting the DISPLAY variable to the fully
> > qualified hostname but can't work out what display number(?) i.e. :10.0
> > etc.. to use?  From what I can gather, it uses an offset of 10 for the
> > remote displays.
> > 
> > Any pointers would be gratefully received, as ever :-)
> > 
> > TIA.
> > 
> > -- 
> > **************
> > * Simon Wong *
> > **************
> > 
> > -- 
> > SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
> > More Info: http://lists.slug.org.au/listinfo/slug
-- 
**************
* Simon Wong *
**************

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to