Not really. Start your X server with -nolisten tcp and it won't listen on 
the tcp port anymore.
This you can accomplish by modifying your startx script(bad idea!) or 
writing a global xserverrc file and putting right commands to start X there. 
Look man pages for startx and X for more info.

I don't run [xkg]dm so I have no problem there.

KDM listens because it can then manage display on some remote machine too.

----Original Message Follows----
From: duane voth <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [expert] Stop X11 and KDM from listening
Date: Wed, 10 Jan 2001 14:41:09 -0600

Bryan Brown wrote:

>I did a nmap scan and noticed that X11 is listening on
>port 6000 and kdm is listening on port 1024. Are these
>daemons required to listen on tcp ports and if not how
>do I stop these services from listening. Any help
>would be appreciated. Thanks, Bryan

If you want to run Xwindows then yes you will have to
tolerate a tcp port open - that is how X works.
You can add ipchain rules to block connections from
other machines - which you probably want if this
machine is directly on the Internet - but then you
want a bunch of other rules too!

I don't know why kdm listens also.

Someone else know about this?


duane



_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


Reply via email to