[Xquartz-dev] Tiger fixes in 1.4.2-apple24
Jeremy Huddleston
jeremyhu at apple.com
Mon Nov 24 09:46:17 PST 2008
>> Was there anything more that happened after that? On Leopard, when I
>> do that (with launchd disables):
>
> Not when DISPLAY was set. When I launched Xquartz directly, I saw
> for a short time a form pop up. When it's unset I get:
>
> Could not init font path element /usr/X11R7.4/lib/X11/fonts/misc/,
> removing from list!
>
> Fatal server error:
> could not open default font 'fixed'
> AbortDDX
> Quitting Xquartz...
> Xquartz: start_x11_server: (ipc/mig) server died
> Exit 1
Yes, as I mentioned, this is because your fonts aren't cached. Run:
sudo /usr/X11/bin/font_cache
> When I try: "open /Applications/Utilities/X11.app" I get in Console:
>
> X11.app: main(): argc=2
> argv[0] = /Applications/Utilities/X11.app/Contents/MacOS/X11
> argv[1] = -psn_0_9961473
> Waiting for startup parameters via Mach IPC.
> X11.app: Could not connect to server (DISPLAY is not set).
> Starting X server.
> X11.app: Launching /usr/X11/bin/startx:
> argv[0] = /usr/bin/login
> argv[1] = -fp
> argv[2] = pete
> argv[3] = /bin/sh
> argv[4] = -c
> argv[5] = /usr/X11/bin/startx
> Last login: Mon Nov 24 00:24:30 on tty??
> Welcome to Darwin!
> You have new mail.
> Warning: no access to tty (Inappropriate ioctl for device).
> Thus no job control in this shell.
It looks like startx is stalling out in your ~/.bashrc or something...
can you try debugging that.
> X11 is running.
Really? How? I don't see it starting in your output. What does X11-
>About show?
> When I now invoke Xquartz for a short time a form is visible. Then
> X11 also finishes. Nothing more happens, because I failed to install
> xinit in a privileged environment. Doing so installs in /usr/X11/bin:
>
> -rwxr-xr-x 1 root admin 6942 24. Nov 00:17 startx
> -rwxr-xr-x 1 root admin 24664 24. Nov 00:17 xinit
>
> Building in app/xinit/privileged_startx fails:
>
> server.c: In function ‘server_main’:
> server.c:103: error: ‘LAUNCH_JOBKEY_MACHSERVICES’ undeclared (first
> use in this function)
> server.c:103: error: (Each undeclared identifier is reported only once
> server.c:103: error: for each function it appears in.)
> server.c: In function ‘do_privileged_startx’:
> server.c:168: warning: passing argument 1 of ‘fts_open’ from
> incompatible pointer type
> make[1]: *** [server.o] Error 1
> make: *** [all] Error 2
>
> Leopard again ...
>
>>
>> It looks like it's failing because of missing font caches.
>
> I tried the X11 utilities and I also tried fc-cache. There was /usr/
> X11/bin/fc-cache built (I used a Fink version).
Again, the application you need to run is sudo /usr/X11/bin/
font_cache ... which I just realized wouldn't be on your system. Grab
it from here:
http://www.opensource.apple.com/darwinsource/10.5.5/X11fonts-5.1/font_cache.sh
That takes care of running your mkfontdir, mkfontcache, etc...
>>> Xdriinfo dies with a crash because it was badly built; otool -L
>>> lists:
>>>
>>> /usr/X11R7.4/lib/libX11.6.dylib (compatibility version 9.0.0,
>>> current version 9.0.0)
>>> ==? libGL.1.dylib (compatibility version 1.2.0, current version
>>> 1.2.0)
>>
>> Yeah, I thought I fixed that in Mesa-7.0.4 though... Are you using
>> 7.0.4?
>
> I am. I even did it build and install twice, then with the "fixed"
> Mesa bin/mklib script.
Yeah, that patch didn't get into the 7.0 branch... See my email from
last night.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5708 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/xquartz-dev/attachments/20081124/e7254841/attachment.bin>
More information about the Xquartz-dev
mailing list