To turn off X11 from listening on port 6000, run it with the argument 
"-nolisten tcp".

I am still trying to figure out why kdm is listening on 1024.

Balaji

On Wednesday 10 January 2001 15:41, you wrote:
> 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

Reply via email to