Re: XQuartz on 10.6
Re: XQuartz on 10.6
- Subject: Re: XQuartz on 10.6
- From: Jeremy Huddleston <email@hidden>
- Date: Fri, 06 Jan 2012 16:23:12 -0800
On Jan 6, 2012, at 4:10 PM, Daniel . wrote:
> It Works!! Why??
Judging by your earlier responses, my guess is that something prevented the LaunchDaemon from running, thus preventing the directory to be created, thus preventing the socket from being created, thus aborting server startup.
I don't know *why* that was the case, and I've never seen something like this happen.
> ...
> I know it sounds crazy, but I am disappointed that it is now working without knowing *why*. I was hoping to learn how to track down the real issues behind the problem and fix them. I have come across so many people who cannot get commercially 'packaged' "Wined" apps to work, e.g. GIMP, theWord, because X11/XQuartz ain't working right.
Well point them to this list or have them file bug reports. I can't fix bugs that I don't know about... ;)
If you find out anything more about what went wrong, please let me know.
>
> Oh well....
>
> Daniel, somewhere in Maine
>
>
> On Jan 6, 2012, at 1:27 PM, Jeremy Huddleston wrote:
>
>>
>> On Jan 6, 2012, at 7:42 AM, Daniel . wrote:
>>
>>>
>>> On Jan 5, 2012, at 10:45 PM, Jeremy Huddleston wrote:
>>>
>>>> Did you logout and log back in?
>>>
>>> Yes, twice and did a restart, too.
>>>
>>>> Have you tried a fresh user account?
>>>
>>> Yes.
>>>
>>>> What shows up in /var/log/system.log when you run XQuartz.app?
>>>
>>> It won't run. But here's the what system.log says about it:
>>> <xquartz.txt>
>>
>> Jan 6 18:34:41 macintosh com.apple.launchd.peruser.501[177] ([0x0-0x85085].org.macosforge.xquartz.X11[1119]): Job appears to have crashed: Abort trap
>>
>> So
>>
>>>> What is the output of running the following from within Terminal:
>>>>
>>>> echo $DISPLAY
>>>
>>> /tmp/launch-7NYfzD/org.x:0
>>
>> Ok, so that is Apple's X11.app, not XQuartz.
>>
>>>> launchctl list | grep startx
>>>
>>> - 0 org.x.startx
>>
>> And you have installed XQuartz at this point? Do you have /Library/LaunchAgents/org.macosforge.xquartz.startx.plist? What happens when you try to load it?
>>
>>> launchctl getenv DISPLAY
>>>
>>> (no out put)
>>
>> Really? That's unexpected. You should have the org.x one from above...
>>
>>>
>>> here's a crash report:
>>> <X11.bin_2012-01-06-191848_Macintosh.crash>
>>
>> abort() called
>> Cannot establish any listening sockets - Make sure an X server isn't already running
>> X.Org X Server 1.11.2 Build Date: 20111104
>>
>> This is because it can't create a socket securely. It does this by running privileged_startx, and I see that it was being run (possibly multiple times due to this conflict):
>>
>> Jan 6 18:34:49 macintosh org.macosforge.xquartz.privileged_startx[1143]: lockfile: Sorry, giving up on "/opt/X11/var/run/font_cache.lock"
>> Jan 6 18:34:49 macintosh org.macosforge.xquartz.privileged_startx[1143]: font_cache is already running.
>> Jan 6 18:34:49 macintosh org.macosforge.xquartz.privileged_startx[1143]: If you believe this to be erroneous, please remove /opt/X11/var/run/font_cache.lock.
>>
>> Before you reboot, what is the output of:
>> ls -ld /tmp/.ICE-unix /tmp/.X11-unix /tmp/.font-unix
>>
>>
>> Try rebooting and before doing anything else, just run this from Terminal:
>> ls -ld /tmp/.ICE-unix /tmp/.X11-unix /tmp/.font-unix
>> /opt/X11/lib/X11/xinit/privileged_startx
>> ls -ld /tmp/.ICE-unix /tmp/.X11-unix /tmp/.font-unix
>>
>> ie, I want to see those directories before and after running privileged_startx
>>
>> --Jeremy
>>
>>
>>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> X11-users mailing list (email@hidden)
>
> This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden