How to disable XFree86 and wdm listening ports

Wolfgang Kess bsdlist at kess.ch
Tue Oct 28 08:44:08 PST 2003


On Mon, Oct 27, 2003 at 06:00:42PM -0800, Jason Stone wrote:
> 
> If you think that you might someday invoke X with a different display
> manager, you might consider replacing /usr/X11R6/bin/X with a shell script
> that calls "X.real -nolisten tcp" - this would make all methods of
> starting X not use the tcp port.  On the other hand, you'll have to
> remember to maintain it when you upgrade.

A very nice recommendation.

X is linked to Xwrapper-4
lrwxr-xr-x  1 root  wheel  - 10 Oct 22 18:18 X@ -> Xwrapper-4

Please publish your shell script.  

> Also, it's probably a good idea to firewall of that port as well - defense
> in depth and all that.

Yes, I'll do so.

Thank's Wolfgang


More information about the freebsd-security mailing list