Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 382903 - x11-apps/xdm should pass -nolisten tcp by default
Summary: x11-apps/xdm should pass -nolisten tcp by default
Status: RESOLVED DUPLICATE of bug 334033
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-14 06:44 UTC by William Throwe
Modified: 2012-06-16 15:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description William Throwe 2011-09-14 06:44:54 UTC
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
Comment 1 Martin Mokrejš 2012-02-02 16:39:58 UTC
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? ;)
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2012-06-16 15:49:59 UTC

*** This bug has been marked as a duplicate of bug 334033 ***