Re: Mac OS X 10.5: X11 Documentation/Release Notes
Re: Mac OS X 10.5: X11 Documentation/Release Notes
- Subject: Re: Mac OS X 10.5: X11 Documentation/Release Notes
- From: Ben Byer <email@hidden>
- Date: Sun, 11 Nov 2007 00:26:51 -0800
On Nov 10, 2007, at 9:01 PM, Bill Janssen wrote:
2. Launchd support. In brief, don't run X11.app from the Dock. Or,
at all, manually. Ensure that you are not explicitly setting
$DISPLAY
in any configuration files, verify that 'echo $DISPLAY' in
Terminal.app reports something that starts with '/tmp/launchd', and
then just run 'xterm &' from Terminal. This will work with any X11
client application that links with the standard libX11.dylib.
Ben, that's a nice theory, but the "client" I want to run is my
.xinitrc file. (Where *did* xinit disapppear to?)
I nuked it based on the fact that it was never being used. All it
really does is exec .xinitrc, and the X11.app code in Tiger just did
that directly The theory is that you're better off just making a
shell script that does what you want, and run that. (Yes, I
understand what you're saying -- this didn't work out as cleanly as
I'd hoped).
I think I've come to terms with having launchd run the server, but it
shouldn't start up X11.app. That's an app, and should be started by
the user, whether they do in their Login Items, or explicitly by
clicking on it.
X11.app is a means of running other apps. Just run your app. :)
What you're advocating could be accomplished by editing /System/
Library/LaunchAgents/org.x.X11.plist and changing it to run /usr/X11/
bin/Xquartz instead of /usr/X11/X11.app/Contents/MacOS/X11. I've
never found running Xquartz by itself to be particularly useful,
because there's no way of switching to it (via dock or Cmd-Tab).
--
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