_X11Trans SocketINETConnect() cant get address for localhost:6011: Name or service not known
If you fail to connect using ssh and you get the error
_X11Trans SocketINETConnect() cant get address for localhost:6011: Name or service not known
/usr/bin/xterm Xt error: Cant open display: localhost:11.0
Check your /etc/hosts file and make sure
127.0.0.1 localhost
is an entry in the file