Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 171853 - x11-base/xorg-server-1.1.1-r4 "listening behaviour" patch includes
Summary: x11-base/xorg-server-1.1.1-r4 "listening behaviour" patch includes
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-22 21:33 UTC by Stefan Behte (RETIRED)
Modified: 2007-03-22 21:42 UTC (History)
0 users

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


Attachments
patch that introduces "listen" flag to xorg-server-1.1.1-r4 (patch,706 bytes, patch)
2007-03-22 21:35 UTC, Stefan Behte (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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) ?