This discussion is archived
2597 Views 9 Replies Latest reply: Jun 5, 2008 2:56 PM by Conor Hughes
Currently Being ModeratedFeb 18, 2008 12:55 PM (in response to vrai)in the new X11, 'launchd' support is built-in.
you do not want a DISPLAY environment variable set anywhere (in your e.g. .cshrc)
you should not need to start X11 manually (from your applications/utilities folder or the dock) either.
not sure if that helps, but the leopard X11 is quite different than tiger's.... cheersMBP 17/2GB/7200/matte, dualG51.8, G4 450, TiBook, some G3s, & a Quadra!, Mac OS X (10.4.8)
Currently Being ModeratedFeb 18, 2008 12:57 PM (in response to vrai)other things to try...
try running /usr/X11/X11.app instead of /Applications/Utilities/X11.app. that should remove the launchd functionality...
to prevent X11 from setting $DISPLAY, you could try
sudo launchctl unload -w /System/Library/LaunchAgents/org.x.X11.plist
cheersMBP 17/2GB/7200/matte, dualG51.8, G4 450, TiBook, some G3s, & a Quadra!, Mac OS X (10.4.8)
Currently Being ModeratedFeb 18, 2008 12:58 PM (in response to vrai)You might want to post to or peruse the Unix forum under OS X Technologies where X11 gurus hang out.G4 450 MP Gigabit 1.5 GB RAM/17" Flat-panel 1GHz iMac, Mac OS X (10.5.2), (also 10.4.11/9.2.2)
Currently Being ModeratedFeb 18, 2008 1:30 PM (in response to W.J. Llope)Thanks for the suggestions. I tried both of these and while X11 is still failing to start, the mode of failure is now different...
The call to launchctl failed with a fairly generic error message ...
$ sudo launchctl unload -w /System/Library/LaunchAgents/org.x.X11.plist
launchctl: Error unloading: org.x.X11
Then I decided to try starting X11.app from /usr/X11. It failed, but only once this time and produced a much shorter Console error ...
18/02/2008 21:28:35 [[0x0-0x1e01e]].org.x.X11[] X11.app starting:
18/02/2008 21:28:35 [[0x0-0x1e01e]].org.x.X11[] Xquartz server based on X.org Release 7.2, built on 2007924
18/02/2008 21:28:35 [[0x0-0x1e01e]].org.x.X11[] Check-in failed: Permission denied
18/02/2008 21:28:36 [[0x0-0x1e01e]].org.x.X11[] can't open default display
18/02/2008 21:28:39 [[0x0-0x1e01e]].org.x.X11[] Quitting Xquartz...
I suspicious about the Permission Denied check - it's a shame it won't say which permission it is.Mac Pro, Mac OS X (10.5.2)
Currently Being ModeratedFeb 19, 2008 5:02 AM (in response to baltwo)I keep seeing the same with 10.5.2. All installed from scratch, no upgrades. I've tried the hints I've found but still no luckPowerBook G4 1.33, Mac OS X (10.5.2)
Currently Being ModeratedFeb 19, 2008 9:13 PM (in response to vrai)I had this same issue and solved it by installing this update:
-PMMac OS X (10.5)
Currently Being ModeratedMar 24, 2008 12:36 PM (in response to Pickle_Man)Thanks, Pickle_Man, I installed that up-date and now X11 works.
Currently Being ModeratedJun 5, 2008 1:04 AM (in response to Pickle_Man)Man, this has been frustrating:
My MBP was running 10.4.latest, then I installed 10.5.1. Utilities/X11 launched and worked as usual. Applied 10.5.2 - same. Applied 10.5.3, and launching Utilities/X11 continues to work great there.
Feeling secure in the workitude of 10.5.3, I upgraded my G5 to 10.5.1 via the same media, and Utilities/X11 worked as usual. I let Software Update install everything available, taking it to 10.5.3, and I got the X11 launch failures described here. See the bit about not explicitly starting the server first, I tried just firing up a client, which hung indefinitely as launchd tried to invoke the server, which logged the familiar complaint about not knowing the -launchd switch. The server X11.app package reported being 2.0. I did an archive+install back to 10.5.1, and Utilities/X11 worked as before, let SU have its way with the G5, and had the same failures.
I had a legacy bit in .cshrc
if ( ! $?DISPLAY ) then
that I commented out, with no improvement. Moved .cshrc out of the way altogether, no improvement.
I applied the abovementioned unofficial Xquartz 2.1.4 server update package, and now the X11 server starts automagically when I invoke a client -- a local client at least.
I was about to try going back to 10.5.1 again and looking for offline installers to go to 10.5.2 then 10.5.3 incrementally instead, to better duplicate the path that the MBP took, when I decided to try the above package instead. Now that I go back and look at the MBP, I see that X11 reports version 2.1.1, not the 2.0 that I had on my G5. I know that sometimes version numbers for PPC and x86 aren't always in sync (I've seen that with Mail.app) but this seems really fishy to me. My best guess is that something is awry in Apple's 10.5.3 combo installer, and that going to 10.5.2 first then 10.5.3 might well work as expected. Those of you who've also experienced these problems: which exact release of 10.5 were you running, and how did you get there? PPC or x86?
But, I got it working and xv seems happy (I've yet to find a native equivalent that's anywhere near as efficient to use) so I'm calling it good for now.
I initially tried calling Apple and as expected got a tech who was friendly but who didn't really grok X. She had me repairing disk permissions in Disk Utility, booting in safe mode, trashing my Caches directory, etc, but never got close to something that would actually work.MBP2.2, G51.6, Mac OS X (10.5.3), I want my PDP
Currently Being ModeratedJun 5, 2008 2:56 PM (in response to cthulhu11)I have all but confirmed that this is an issue with the 10.5.3 combo updater. I have a MacBook Pro that I was trying to Erase & Install 10.5 from. On updating from Software Update from 10.5.1 to 10.5.3, X11.app failed just like it did for you folks. This happened for several attempts to reinstall. However, after reading this thread I reinstalled again and used the standalone updaters to upgrade manually from 10.5.1 to 10.5.2 and then to 10.5.3 and X11 works fine.
Here are the links to the updaters I used:
10.5.x to 10.5.2: http://www.apple.com/downloads/macosx/apple/macosx_updates/macosx1052comboupdate .html
10.5.2 to 10.5.3: http://www.apple.com/downloads/macosx/apple/macosx_updates/macosx1053update.html
Note that the updater from 10.5.2 to 10.5.3 is the "delta" one, not the combo updater.Macbook Pro, Mac OS X (10.5.3)