When running "xauth list" or "xauth info" or "xauth extract" when no .Xauthority exits, xauth says: xauth: creating new authority file /home/reed/.Xauthority Which is not true. It is not created. (For some reason, when I use xauth or xdm, my ~/.Xauthority format causes it so I can't start clients when I start X using startx. So I remove my ~/.Xauthority.)
I can confirm this bug.
Sorry about the phenomenal bug spam, guys. Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Confirmed by doing mkdir of an empty directory and running xauth list with HOME set to that. It was printing the message whenever .xauthority didn't exist, and probably meant "If you do an operation that writes to .xauthority, a new file will be created", but I've chosen to just change it to the simpler and more correct: "file %s does not exist" commit 1c701094169b6e33f7faf21a269e949bf134a326 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Fri Oct 9 22:58:52 2009 -0700 Bug 7051: xauth says creating new authority file even though it does not https://bugs.freedesktop.org/show_bug.cgi?id=7051 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> diff --git a/process.c b/process.c index 893b51d..48a0df0 100644 --- a/process.c +++ b/process.c @@ -769,7 +769,7 @@ auth_initialize(char *authfilename) return -1; } /* else ignore it */ fprintf (stderr, - "%s: creating new authority file %s\n", + "%s: file %s does not exist\n", ProgramName, authfilename); } else { xauth_existed = True;
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.