Re: How to disable XFree86 and wdm listening ports

From: Nigel Houghton (nigel_at_sourcefire.com)
Date: 10/28/03

  • Next message: Jason Stone: "Re: How to disable XFree86 and wdm listening ports"
    Date: Mon, 27 Oct 2003 20:45:31 -0500 (EST)
    To: Wolfgang Kess <bsdlist@kess.ch>
    
    

    wdm is a replacement for xdm and has it's own configuration directory,
    similar in nature to xdm but called wdm.

    There are different ways to achieve your desired result, you should find
    an appropriate place in /usr/X11R6/lib/X11/wdm/wdm-config to add the
    -nolisten tcp option to the server line similar to the xdm option you
    tried already.

    For gdm, the process is similar the line to start the X server is in
    gdm.conf and would look like command=/usr/X11R6/bin/X -nolisten tcp.

    There are other places this can be done, but these options might be
    easiest for you. You might also want to make sure you have XDMCP turned
    off also otherwise you'll be listening on udp 177 too.

    Around 10:15pm Wolfgang Kess said:

    WK :Hello,
    WK :
    WK :what is the right way to disable XFree86 and wdm listening
    WK :ports tcp 6000 and tcp 1024.
    WK :
    WK :I read in man XFree86 about the -nolisten tcp option
    WK :and tried to set in /usr/X11R6/lib/X11/xdm
    WK :
    WK ::0 local /usr/X11R6/bin/X -nolisten tcp
    WK :
    WK :but it was not successful.
    WK :
    WK :
    WK :What is the right way to close the ports without use of IPFW?
    WK :
    WK :Your help would be appreciated.
    WK :
    WK :Thank´s
    WK :Wolfgang
    WK :
    WK :_______________________________________________
    WK :freebsd-security@freebsd.org mailing list
    WK :http://lists.freebsd.org/mailman/listinfo/freebsd-security
    WK :To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org"
    WK :

    -------------------------------------------------------------
    Nigel Houghton Security Research Engineer Sourcefire Inc.
                     Vulnerability Research Team

    "Mankind hasn't even got the technology to create a toupee
    that doesn't get big laughs." -- Lister
    _______________________________________________
    freebsd-security@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-security
    To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org"


  • Next message: Jason Stone: "Re: How to disable XFree86 and wdm listening ports"

    Relevant Pages

    • Re: include ~/bin in $PATH under kde on debian (sarge)
      ... You mean something other than gdm, kdm, xdm or wdm? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)
    • Re: windowmanager stopped working
      ... > reverts back to the original XDM login screen. ... I've found wdm to be pretty useful for diagnosing these kinds of problems ... (and in fact run it as my only display manager on most of my machines for ... GnuPG public key available from ...
      (Debian-User)
    • Re: normal User cannot log in via wdm
      ... > After some time using the combinaton xdm + blackbox, ... > to wdm because of the choose desktop and shutdown option at login. ... For root, this is working. ... > If i kill wdm as root, and a normal user does startx at the console ...
      (comp.os.linux.x)
    • Re: [opensuse] Re: How do I change my dvd writer permissions?
      ... Try to hibernate your computer by clicking on the applet or touching the hibernate button. ... The current wdm in 10.3 doesn't allow it (Bugzilla 341605, comment #24, no console kit support). ... I did not try xdm. ...
      (SuSE)
    • normal User cannot log in via wdm
      ... After some time using the combinaton xdm + blackbox, ... that only root can log in via wdm. ... If a normal user tries ...
      (comp.os.linux.x)