xhost + problems
Niels L. Ellegaard
gnalle at ruc.dk
Thu May 12 06:34:09 UTC 2005
Dear masters
I have a laptop with hoary and I cannot use xhost + for telnet on my
local network. I get the following error
_X11TransSocketINETConnect: Can't get address for localhost.localdomain
What is the reason for this error? How can I fix it. (ssh -X is not
available on the network).
Thanks in advance
Niels
Here is a transcript of a sample session:
[niels:~]% xhost +
access control disabled, clients can connect from any host
[niels:~]% telnet lpc2
Trying 172.16.1.2...
Connected to lpc2.intranet.xxx.ac.in.
Escape character is '^]'.
Red Hat Linux release 8.0 (Psyche)
Kernel 2.4.18-14 on an i686
login: niels
Password:
Last login: Thu May 12 11:45:09 from niels.intranet.xxx.ac.in
[lpc2~]$ setenv display niels:0.0
[lpc2~]$ xclock
_X11TransSocketINETConnect: Can't get address for localhost.localdomain
Error: Can't open display: localhost.localdomain:0.0
[lpc2~]$ ping niels
PING niels.intranet.xxx.ac.in (172.16.2.48) from 172.16.1.2 : 56(84) bytes of data.
64 bytes from niels.intranet.xxx.ac.in (172.16.2.48): icmp_seq=1 ttl=64 time=0.171 ms
--- niels.intranet.xxx.ac.in ping statistics ---
1 packets transmitted, 1 received, 0% loss, time 0ms
rtt min/avg/max/mdev = 0.171/0.171/0.171/0.000 ms
[lpc2~]$ setenv display 172.16.2.48:0.0
[lpc2~]$ xclock
_X11TransSocketINETConnect: Can't get address for localhost.localdomain
Error: Can't open display: localhost.localdomain:0.0
[lpc2~]$
More information about the ubuntu-users
mailing list