SCIENTIFIC-LINUX-USERS Archives

December 2006

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Troy Dawson <[log in to unmask]>
Reply To:
Troy Dawson <[log in to unmask]>
Date:
Wed, 6 Dec 2006 16:59:22 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (41 lines)
Alex Finch wrote:
> I find that X11 forwarding over ssh does not work on SL 4.4. I get the 
> message
> _X11TransSocketINETConnect() can't get address for localhost:6011: Name 
> or service not known
> 
> I found a workaround at:
> http://bugzilla.mindrot.org/show_bug.cgi?id=164
> 
> which is to add the line:
> 
> ::1 localhost
> to /etc/hosts
> 
> apparently it is something to do with having both IPV4 an IPV6 available 
> at the same time.
> 
> The place I found the workaround is a discussion of the bug from 2002 
> claiming it is now fixed!
> 
>  cheers,
> 
>  Alex Finch

The easiest fix I know of is to edit
   /etc/ssh/ssh_config
and add the line
        ForwardX11 yes
I usually put it at the end, so that it looks like

        ForwardX11Trusted yes
        ForwardX11 yes

And it works.
Troy
-- 
__________________________________________________
Troy Dawson  [log in to unmask]  (630)840-6468
Fermilab  ComputingDivision/CSS  CSI Group
__________________________________________________

ATOM RSS1 RSS2