[Xquartz-dev] Tiger fixes in 1.4.2-apple24

Jeremy Huddleston jeremyhu at apple.com
Fri Nov 28 23:25:40 PST 2008


Well, I'm really at the limit of what I can debug remotely.  If I get  
Tiger setup locally, I'll look into it more, but you may need to do  
some digging on your own for now...

On Nov 28, 2008, at 16:38, Peter Dyballa wrote:

> Am 28.11.2008 um 20:01 schrieb Jeremy Huddleston:
>
>> diff --git a/privileged_startx/server.c b/privileged_startx/server.c
>
>
> Your extended patch made it – almost!
>
> 	/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning prebinding  
> disabled because of undefined symbols
> 	/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols:
> 	_bootstrap_strerror
>
> I patched the files
>
> 	app/xinit/privileged_startx/client.c:45:        fprintf(stderr,  
> "bootstrap_look_up(): %s\n", bootstrap_strerror(kr));
> 	app/xinit-1.1.0/privileged_startx/client.c:45:         
> fprintf(stderr, "bootstrap_look_up(): %s\n", bootstrap_strerror(kr));
>
> as you did with
>
> 	xserver/hw/xquartz/mach-startup/bundle-main.c:380:             
> fprintf(stderr, "bootstrap_look_up(): %s\n", bootstrap_strerror(kr));
> 	xserver/hw/xquartz/mach-startup/stub.c:280:             
> fprintf(stderr, "Xquartz: bootstrap_look_up(): %s\n",  
> bootstrap_strerror(kr));
>
> and xinit built! I installed with sudo. Before I had enough time to  
> run 'sudo font_cache -s -v -f', but now one more change had  
> happened: /usr/X11/lib/X11/xinit/privileged_startx.d contains two  
> shell scripts!  And I also have now:
>
> 	-rwxr-xr-x 1 pete admin 2595856 27. Nov 23:46 /Applications/ 
> Utilities/X11.app/Contents/MacOS/X11
> 	-rwxr-xr-x 1 pete admin   28812 27. Nov 23:46 /usr/X11/bin/Xquartz
> 	-rwxr-xr-x 1 root admin    6918 28. Nov 22:36 /usr/X11/bin/startx
> 	-rwxr-xr-x 1 root admin   24664 28. Nov 22:36 /usr/X11/bin/xinit
> 	
> 	/Library/LaunchAgents:
> 	insgesamt 4
> 	-rw-r--r-- 1 root wheel 638 28. Nov 22:36 org.x.startx.plist
> 	
> 	/Library/LaunchDaemons:
> 	insgesamt 8
> 	-rwxr-xr-x 1 root wheel 619 21. Mai 2008   
> com.distortedvista.istatmenusprocessserver.plist
> 	-rw-r--r-- 1 root wheel 479 28. Nov 22:36  
> org.x.privileged_startx.plist
>
>
> X11's behaviour is still the same:
>
> pete 391 /\  /Applications/Utilities/X11.app/Contents/MacOS/X11
> 	X11.app: main(): argc=1
> 		argv[0] = /Applications/Utilities/X11.app/Contents/MacOS/X11
> 	X11.app: Could not connect to server (DISPLAY=":0", unsetting).   
> 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
> 	Waiting for startup parameters via Mach IPC.
> 	Last login: Fri Nov 28 22:22:05 on tty??
> 	Welcome to Darwin!
> 	You have new mail.
> 	pete 124 /\
>
> while Xquartz's has changed (fixed font is found!):
>
> 	Xquartz :0
> 	Xquartz: Starting X server: /Applications/Utilities/X11.app/ 
> Contents/MacOS/X11 --listenonly
> 	X11.app: main(): argc=2
> 		argv[0] = /Applications/Utilities/X11.app/Contents/MacOS/X11
> 		argv[1] = --listenonly
> 	Waiting for startup parameters via Mach IPC.
> 	X11.app: do_start_x11_server(): argc=2
> 		argv[0] = Xquartz
> 		argv[1] = :0
> 	2008-11-28 22:53:01.606 X11[11439] Could not connect the action  
> apps_table_cancel: to target of class X11Controller
> 	X11.app: Debug Info: kKLuchrData failed, trying kKLKCHRData.
> 	If you are using a 3rd party keyboard layout, please see http://xquartz.macosforge.org/trac/ticket/154
> 	Xquartz starting:
> 	X.Org X Server 1.4.2-apple25
> 	Build Date: 20081127
> 	_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
> 	_XSERVTransMakeAllCOTSServerListeners: server already running
> 	
> 	Fatal server error:
> 	Cannot establish any listening sockets - Make sure an X server  
> isn't already running
> 	   AbortDDX
> 	Quitting Xquartz...
> 	Xquartz: start_x11_server: (ipc/mig) server died
> 	Exit 1
>
> Again, there is no X server running. Last time it did is some days  
> ago ... When I double-click X11's icon in Dock it leaps a few times  
> (launches as can be seen by ps) and finally stops being responsive.  
> There must be an alternative to a reboot ...
>
>
> libGL*'s install names in Mesa 7.0.4: the errors are not in the  
> Makefile's, they have the proper lines:
>
> 	 -id $(INSTALL_LIB_DIR)/lib$(xxx_LIB).$(xxx_MAJOR).dylib
>
> the problem is that neither configs/darwin nor configs/default  
> define INSTALL_LIB_DIR ...
>
>
> LibOSMesa is not needed in /usr/X11/lib?
>
> --
> Greetings
>
>  Pete
>
> The box said "Use Windows 95 or better," so I got a Macintosh.
>
>
> _______________________________________________
> Xquartz-dev mailing list
> Xquartz-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev



More information about the Xquartz-dev mailing list