[Xquartz-dev] xorg-server on Macports (works with Tiger)

Peter Dyballa Peter_Dyballa at Freenet.DE
Tue Dec 16 12:00:35 PST 2008


Am 16.12.2008 um 16:00 schrieb Peter Dyballa:

> After applying the recent security patch I'll reboot and see further.


After the reboot Dock crashes when any user logs in. Of course X11  
stopped to work completely. This is the best looking report:

	X11.app: main(): argc=2
	        argv[0] = /Applications/Utilities/X11.app/Contents/MacOS/X11
	        argv[1] = -psn_0_1966081
	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/X11/bin/startx
	font_cache: Scanning user font directories to generate X11 font caches
	bootstrap_look_up(): 1102l
	font_cache: Updating FC cache
	xauth:  creating new authority file /Users/x11/.serverauth.1699
	
	X11.app: do_start_x11_server(): argc=6
	        argv[0] = /usr/X11/bin/X
	        argv[1] = :0
	        argv[2] = -nolisten
	        argv[3] = tcp
	        argv[4] = -auth
	        argv[5] = /Users/x11/.serverauth.1699
	2008-12-16 20:10:51.892 X11[1698] 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-apple27
	Build Date: 20081216
	_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
	giving up.
	
	xinit:  Connection refused (errno 61):  unable to connect to X server
	
	xinit:  No such process (errno 3):  Server error.
font_cache: Done

For me it fails like this (notice the 96 dpi from my ~/.xserverrc! At  
least this works now):

	X11.app: main(): argc=2
		argv[0] = /Applications/Utilities/X11.app/Contents/MacOS/X11
		argv[1] = -psn_0_3407873
	Waiting for startup parameters via Mach IPC.
	X11.app: Could not connect to server (DISPLAY=":0", unsetting).   
Starting X server.
	X11.app: Launching /usr/X11/bin/startx:
		argv[0] = /usr/X11/bin/startx
	bootstrap_look_up(): 1102l
	font_cache: Scanning user font directories to generate X11 font caches
	font_cache: Updating FC cache
	xauth:  creating new authority file /Users/pete/.serverauth.2064
	
	X11.app: do_start_x11_server(): argc=3
		argv[0] = X
		argv[1] = -dpi
		argv[2] = 96
	2008-12-16 20:29:07.625 X11[2063] 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-apple27
	Build Date: 20081216
	(EE) XKB: Couldn't open rules file /usr/X11/share/X11/xkb/rules/base
	(EE) XKB: Couldn't open rules file /usr/X11/share/X11/xkb/rules/base
	Could not init font path element /usr/X11/lib/X11/fonts/misc/,  
removing from list!
	Could not init font path element /usr/X11/lib/X11/fonts/TTF/,  
removing from list!
	Could not init font path element /usr/X11/lib/X11/fonts/OTF,  
removing from list!
	Could not init font path element /usr/X11/lib/X11/fonts/Type1/,  
removing from list!
	Could not init font path element /usr/X11/lib/X11/fonts/100dpi/,  
removing from list!
	Could not init font path element /usr/X11/lib/X11/fonts/75dpi/,  
removing from list!
	Could not init font path element /Library/Fonts, removing from list!
	Could not init font path element /System/Library/Fonts, removing  
from list!
	
	Fatal server error:
	could not open default font 'fixed'
	   AbortDDX
	Quitting Xquartz...
	Xquartz: start_x11_server: (ipc/mig) server died
	giving up.
	xinit:  Connection refused (errno 61):  unable to connect to X server
	xinit:  No such process (errno 3):  Server error.
	font_cache: Done

Does it play a role that /usr/X11/bin has:

lrwxr-xr-x   1 pete  admin      32 28 Nov 00:54 fc-cache -> /sw/lib/ 
fontconfig2/bin/fc-cache
lrwxr-xr-x   1 pete  admin      30 28 Nov 00:55 fc-cat -> /sw/lib/ 
fontconfig2/bin/fc-cat
lrwxr-xr-x   1 pete  admin      31 28 Nov 00:55 fc-list -> /sw/lib/ 
fontconfig2/bin/fc-list
lrwxr-xr-x   1 pete  admin      32 28 Nov 00:55 fc-match -> /sw/lib/ 
fontconfig2/bin/fc-match

'sudo font_cache -s -v -f' was run.


Why does that form from launching X11 asking me something and  
offering No and Yes buttons vanish before I can even read it?

Putting ~/.xserverrc aside I get everything the same except:

	X11.app: do_start_x11_server(): argc=6
		argv[0] = /usr/X11/bin/X
		argv[1] = :0
		argv[2] = -nolisten
		argv[3] = tcp
		argv[4] = -auth
		argv[5] = /Users/pete/.serverauth.2426


--
Greetings

   Pete

Increase the size of your bike by at least *five* inches!




More information about the Xquartz-dev mailing list