I am trying to do x-forwarding (not ssh tunneling, which has it own problem for me) with some network computer. Before I do that, I wanted to test what's the correct DISPLAY to set to. So here's the experiment:
Code:
DISPLAY=:0.0 xclock
works, but
Code:
# xhost && DISPLAY=localhost:0.0 xclock
access control enabled, only authorized clients can connect
INET:localhost
Error: Can't open display: localhost:0.0
This obvious implies that if I set DISPLAY=(my ip address):0.0 at another computer, it will fail as well. Any idea?