On Thu, 2005-06-23 at 10:38 -0400, William Hooper wrote: > John Morrison wrote: > [snip] > > Hi, > > I have a similar problem. > > On my remote machine $DISPLAY set as localhost:10.0 > > When i do ssh -X (or Y) user@remote_machine and try to run xclock, for > > example, i get the following error: > > > > _X11TransSocketINETConnect() can't get address for localhost:6010: Name > > or service not known Error: Can't open display: localhost:10.0 > > That sounds more like the issue with the /etc/hosts file. > > -- > William Hooper > Yes it was. Got it sorted by adding localhost back as an alias to /etc/hosts. Forgot i had changed it previously. Cheers,