Disabling launchd support, was Re: Warning: No xauth data; using fake authentication data, for X11 forwarding
Disabling launchd support, was Re: Warning: No xauth data; using fake authentication data, for X11 forwarding
- Subject: Disabling launchd support, was Re: Warning: No xauth data; using fake authentication data, for X11 forwarding
- From: Ben Byer <email@hidden>
- Date: Tue, 13 Nov 2007 14:57:21 -0800
On Nov 13, 2007, at 1:54 PM, M. Stanley Bubien wrote:
On Nov 12, 2007, at 8:25 AM, M. Stanley Bubien wrote:
Unless your X connection is not working, I believe you can safely
ignore that error message.
Well, more to the point for me... why does this happen? It
certainly
shouldn't, and I've done everything I can to eliminate the message.
see http://lists.apple.com/archives/x11-users/2007/Nov/msg00109.html
Sorry I missed this, but thanks for the pointer. This leads me to
a question though.
> (Technical explanation: We had to disable launchd support with
xauth because
> there's a race condition where the first X client that caused X11
to start
> would try to read ~/.Xauthority)
Is it possible to disable launchd support for launching X11? IE is it
possible to easily go back to the old model of double-click the
icon. :)
Search on the archive gives me a lot of digging and/or empty searches,
though I am sure this has been asked already!
It should probably be added to a FAQ somewhere, though.
* Running /usr/X11/X11.app instead of /Apps/Utils/X11.app will give
you a simple, normal X server. You might even move the former to the
latter.
The next two steps are optional:
* Adding xterm back to /usr/X11/lib/X11/xinit/xinitrc (or adding it to
~/.xinitrc) will give you an xterm when you run /usr/X11/X11.app
* 'sudo launchctl unload -w /System/Library/LaunchAgents/
org.x.X11.plist' will prevent launchd from setting $DISPLAY.
--
Ben Byer
CoreOS / BSD Technology Group, XDarwin maintainer
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden