xserver: Branch 'master'
Adam Jackson
ajax at kemper.freedesktop.org
Thu Oct 2 12:50:28 PDT 2008
dix/main.c | 4 ----
1 file changed, 4 deletions(-)
New commits:
commit 00f01f39454001846869496d9124f62c01e5691a
Author: Adam Jackson <ajax at redhat.com>
Date: Thu Oct 2 15:48:18 2008 -0400
Don't inherit XAUTHORITY from the environment.
It's not especially obvious, and unpleasantly overloaded for the Xnest
case. Typically this gives you a server that looks for its auth data in
the authority file you were using for the running X session, which
generally doesn't have an entry for the display you just started.
All the major dm's, and startx, pass -auth explicitly, so this shouldn't
cause too much upheaval.
diff --git a/dix/main.c b/dix/main.c
index 267aba5..4e838a9 100644
--- a/dix/main.c
+++ b/dix/main.c
@@ -253,10 +253,6 @@ int main(int argc, char *argv[], char *envp[])
InitConnectionLimits();
- /* prep X authority file from environment; this can be overriden by a
- * command line option */
- xauthfile = getenv("XAUTHORITY");
- if (xauthfile) InitAuthorization (xauthfile);
ProcessCommandLine(argc, argv);
alwaysCheckForInput[0] = 0;
More information about the xorg-commit
mailing list