I am trying to close port 6000 and I went under xdm/Xservers and added the line -nonlisten tcp.
I did a port scan with my other machine to the above machine yet the port is still open.
I run netstat -lp and plain netstat on the machine am trying to close the port and I get lots of I-nodes and all of them come from the temp folder. Must be the applications that gnome is running and I dont see any port 6000 open.
BTW i restarted X after i altered the Xservers file.


