LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Nmap showed 6000/tcp open X11. How do I keep this from starting? (https://www.linuxquestions.org/questions/linux-security-4/nmap-showed-6000-tcp-open-x11-how-do-i-keep-this-from-starting-118354/)

jdruin 11-20-2003 08:05 PM

Nmap showed 6000/tcp open X11. How do I keep this from starting?
 
From PS -A, it looks like i am running gdm. How do I prevent the X11 server from listening to remote connections when I fire up the Gnome desktop on my RH 8 box?

reiss 11-21-2003 01:05 AM

edit /etc/X11/gdm/gdm.conf

find the line: command=/usr/bin/X11/X
and add '-nolisten tcp' to it.

mysterio 11-22-2003 07:54 AM

Or if you startx manually you can "startx -- -nolisten tcp" without the quotes of course.


All times are GMT -5. The time now is 08:15 PM.