Re: turn of the son of x11 won't start up; keeps trying
Re: turn of the son of x11 won't start up; keeps trying
- Subject: Re: turn of the son of x11 won't start up; keeps trying
- From: Ken Thomases <email@hidden>
- Date: Wed, 01 Feb 2012 00:55:23 -0600
On Jan 31, 2012, at 9:48 PM, Fred Dushin wrote:
> So, it looks like the PATH is munged by the time startx is invoked (by whom?).
Check for ~/.MacOSX/environment.plist. Some as-yet-unidentified third-party installer seems to try to set PATH via that file, often with a reference to $PATH, so it can build upon the default, but that doesn't work. Interpretation of that file just takes the value as a literal, without expansion.
Also check "launchctl export" to see if something tried to set PATH using "launchctl setenv PATH <whatever>".
> If I reboot the machine and try the same with a fresh account (administrator), I get a different set of logs:
>
> Jan 31 22:29:18 kirk org.macosforge.xquartz.startx[241]: xauth: file /Users/administrator/.serverauth.242 does not exist
> Jan 31 22:29:19 kirk org.macosforge.xquartz.startx[241]:
> Jan 31 22:29:19 kirk org.macosforge.xquartz.X11.stub[392]: Xquartz: Unable to locate waiting server: org.macosforge.xquartz.X11
> Jan 31 22:29:19 kirk org.macosforge.xquartz.X11.stub[393]: Xquartz: Starting X server: /Applications/Utilities/XQuartz.app/Contents/MacOS/X11 --listenonly
> Jan 31 22:29:19 kirk org.macosforge.xquartz.startx[241]: dyld: Library not loaded: /opt/X11/lib/libfreetype.6.dylib
> Jan 31 22:29:19 kirk org.macosforge.xquartz.startx[241]: Referenced from: /Applications/Utilities/XQuartz.app/Contents/MacOS/X11.bin
> Jan 31 22:29:19 kirk org.macosforge.xquartz.startx[241]: Reason: Incompatible library version: X11.bin requires version 15.0.0 or later, but libfreetype.6.dylib provides version 14.0.0
> Jan 31 22:29:19 kirk ReportCrash[398]: Saved crash report for X11.bin[393] version ??? (???) to /Users/administrator/Library/Logs/DiagnosticReports/X11.bin_2012-01-31-222919_kirk.crash
> Jan 31 22:29:21 kirk org.macosforge.xquartz.startx[241]:
>
> Jan 31 22:29:23 kirk org.macosforge.xquartz.startx[241]: waiting for X server to begin accepting connections
> Jan 31 22:29:39: --- last message repeated 8 times ---
I'll let others comment on that. It looks like you have a mish-mash of components from differing installations of XQuartz.
> My administrator path is:
>
> kirk:~ administrator$ echo $PATH
> /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/X11/bin
Checking PATH from within a Terminal shell isn't very useful. It doesn't show what a GUI app or a launchd agent will get in its environment. Shells rebuild their environment using /etc/profile, ~/.bash_profile, and the like.
> Note that my DYLD_LIBRARY_PATH is empty, and I don't really know the search path strategy in OS X (Lion, Leopard, etc).
See the dyld(1) man page, but I don't think the search path is the source of the problem.
Regards,
Ken
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden