Using CentOS. I cannot connect remotely and I believe it is related to fact I can only connect locally if DISPLAY is set to :0.0. Something is misconfigured but I can't figure out what.
>xhost +
access control disabled, clients can connect from any host
>emacs -d :0.0
#works
>emacs -d 127.0.0.1:0.0
Cannot connect to X server 127.0.0.1:0.0.
>emacs -d localhost:0.0
emacs: Cannot connect to X server localhost:0.0.
Answer
This is because Xserver is refusing TCP connections
run gdmsetup as root and uncheck "Deny TCP connections to Xserver"
No comments:
Post a Comment