How to disable XFree86 and wdm listening ports

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


On Mon, Oct 27, 2003 at 02:13:20PM -0800, twig les wrote:
> easiest is to become the superuser and edit
> /usr/X11R6/bin/startx. Find the serverargs line and change it so
> that it looks like this:
> 
> serverargs="-nolisten tcp" 

Yes, I tried. This works for XFree86 invoked by users startx
but not for a wdm started XFree86.

> I never run wdm so don't know there.

wdm is started on ttyv8

/etc/ttys
 
ttyv8   "/usr/X11R6/bin/wdm -nodaemon"  xterm           on  secure

adding an -nolisten does not work

Wolfgang


More information about the freebsd-security mailing list