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
__________________________________________________