Error: Can’t open display: localhost:10.0
ISSUE:
Server gives error while I try to execute the command xterm.
[stextbox id=”Default” mode=”css” bwidth=”7″ color=”FFFFFF” ccolor=”000000″ bcolor=”1A52EA” bgcolor=”000000″ bgcolorto=”000000″ image=”null”]
[root@quickfixlinux ~]# xclock
Error: Can’t open display: localhost:10.0 [/stextbox]
RESOLUTION:
a) Remove the loopback addressing in the host file entry.
b) Comment or remove the wrong localhost lines:
Open up the /etc/hosts file and comment out the line as below :
[stextbox id=”Default” mode=”css” bwidth=”7″ color=”FFFFFF” ccolor=”000000″ bcolor=”1A52EA” bgcolor=”000000″ bgcolorto=”000000″ image=”null”]