Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 171853

Summary: x11-base/xorg-server-1.1.1-r4 "listening behaviour" patch includes
Product: Gentoo Linux Reporter: Stefan Behte (RETIRED) <craig>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED WORKSFORME    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch that introduces "listen" flag to xorg-server-1.1.1-r4

Description Stefan Behte (RETIRED) gentoo-dev Security 2007-03-22 21:33:54 UTC
Xorg does not listen by default on port 6000, but sometimes this is wanted by the user.
This can be changed by replacing the line:
defaultserverargs="-nolisten tcp -br"

with 

defaultserverargs="-br"

in /usr/bin/startx. The patch introduces a new useflag so that you don't have to edit /usr/bin/startx every time you've build X.ORG

The patch is easy to understand and (of course) verified to work.
Comment 1 Stefan Behte (RETIRED) gentoo-dev Security 2007-03-22 21:35:33 UTC
Created attachment 114085 [details, diff]
patch that introduces "listen" flag to xorg-server-1.1.1-r4
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-03-22 21:42:50 UTC
Eh, ever tried to use ~/.xserverrc (or /etc/X11/xinit/xserverrc) ?