I dont think that there is a way to keep X from listening on port 6000 (or some port) since it is a server running on your machine. this is wrong, X can use unix sockets as well. it doesn't need tcp port 6000 for local connections. It is in /etc/.X11-unix/X0 if you don't use xdm, use startx -nolisten tcp
or if you use xdm, edit /var/X11R6/lib/xdm/Xservers and add -nolisten tcp to the line :0 local /usr/X11R6/bin/X :0 vt07 (it looks like ":0 local /usr/X11R6/bin/X :0 vt07 -nolisten tcp" afterwards) Changes in Xservers do not affect sessions with startx ! (hopefully startx takes -nolisten tcp ... I didn't try. Maybe "startx -- -nolisten tcp" works, if the other doesn't work) greetings Markus -- _____________________________ /"\ Markus Gaugusch ICQ 11374583 \ / ASCII Ribbon Campaign markus@gaugusch.dhs.org X Against HTML Mail / \