It would be nice if X didn't listen on tcp by default. This can be accomplished by adding "-nolisten tcp" to /etc/X11/xdm/Xservers . In bug 193044 this was discussed and it was decided to default to -nolisten tcp, but this was only implemented for xinit. I am requesting that this be added to xdm as well. Reproducible: Always
While I was subscribed to the already closed bug #193044 years ago I see that it is still not fixed in my eyes. I do use xdm and have: root # cat /etc/X11/xinit/xserverrc #!/bin/sh exec /usr/bin/X -nolisten tcp "$@" root # root # netstat -l Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 *:x11 *:* LISTEN I have at the moment pretty much a newly installed system with few customizations. Therefore, it seems the port is opened by default. I do not need it, where can I disable it? ;)
*** This bug has been marked as a duplicate of bug 334033 ***