Image

Imagebrad wrote in Imagelinux

XFree86 listening on only one interface

# netstat -nap | grep :6000
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN 2148/X

I want X to only listen on eth1 (10.0.0.10), not on all available interfaces (0.0.0.0).

The closest I can find is -nolisten tcp, but I don't want to stop it listening on everything. I still need to connect to it within my network.

Possible alternatives:

xauth --- no, I don't even want X visible remotely.

iptables rules --- yeah, that'd work, but I'd rather do it with X, if possible.

Ideas?