Re: Command line arguments to the Xserver (XQuartz)?
Re: Command line arguments to the Xserver (XQuartz)?
- Subject: Re: Command line arguments to the Xserver (XQuartz)?
- From: Lars-Johan Liman <email@hidden>
- Date: Fri, 13 Jan 2012 21:13:51 +0100
- Resent-date: Sat, 14 Jan 2012 10:14:28 +0100
- Resent-from: Lars-Johan Liman <email@hidden>
- Resent-message-id: <email@hidden>
- Resent-to: email@hidden
email@hidden:
> The simple answer is "you don't".
Ummm ... do you mean that someone has put effort into removing the code
that parses command line options from the server? That begs for deeper
explainations.
And what about the man page? It clearly states "... IN ADDITION TO ...".
(But yes, incorrect man pages have occasionally been seen in the wild ... ;-)
> The real answer is that the X server is started by launchd, and the command
> line options would need to be in
> /Library/LaunchAgents/org.macosforge.xquartz.startx.plist. (That said, I
> don't know if there would need to be more to this.)
Mja, that's not the entire truth, I believe. I am familiar with how
launchd works, but
/Library/LaunchAgents/org.macosforge.xquartz.startx.plist
doesn't start the X server directly (AFAICT). It starts a deamon and
gives it a couple of scripts to run, which in turn start other scripts
which in turn start the actual server. There are binaries, scripts,
options passing and "exec"s galore in there, and more than ample
opportunity to interfere from various dot-files in you home directory,
but I've come to the conclusion that
/Applications/Utilities/XQuartz.app/Contents/MacOS/X11.bin
is the acutal binary that corresponds to the classic
/usr/X11R7/bin/Xorg
on a traditional Unix(TM) system, and when I start the former from the
command line (after having unloaded all the launchd-related stuff to
avoid collisions), I do indeed get a simple Xserver running.
But it doesn't parse my command line arguments.
So thanks for you input, but I'm afraid I'm still as puzzled. ;-)
Cheers,
/Liman
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden