Making X server not binding 0.0.0.0 or listening
I'm trying to execute X server (automatically), which will not bind to 0.0.0.0 (port 6000) - meaning X server will not listen on generic interface.
If it's possible, I'd prefer X server not to listen at all (and communicate through other IPC if needed), is there a way to make it not listening at all? -nolisten flag or something like that? (and do it automatically, every reboot).
Also, Is there a way to make X server bind to 127.0.0.1(localhost) instead of 0.0.0.0(generic interface)?
It should be in one of the configuration files or the start-up command to run X.
PLEASE DO NOT SUGGEST USING FW TO BLOCK IT, since it will not help me (I want to solve the problem, not to hack-myself-a-dirty-patch).