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

Peter Dyballa Peter_Dyballa at Freenet.DE
Thu Dec 18 06:14:30 PST 2008


Am 10.12.2008 um 16:00 schrieb Jeremy Huddleston:

> port install xorg-server # if you don't get version 1.4.2_apple27_2,


After many hours, after installing another Perl 5.8.8 that is already  
installed via Active-Perl, the software was built. I added xterm 2.37.

Without a ~/.xserverrc file (X :0 -dpi 96) Console displays:

	X11.app: main(): argc=2
		argv[0] = /Applications/MacPorts/X11.app/Contents/MacOS/X11
		argv[1] = -psn_0_16252929
	Waiting for startup parameters via Mach IPC.
	X11.app: Could not connect to server (DISPLAY is not set).  Starting  
X server.
	X11.app: Launching /opt/local/bin/startx:
		argv[0] = /opt/local/bin/startx
	bootstrap_look_up(): 1102l
	xauth:  creating new authority file /Users/pete/.serverauth.10003
	
	X11.app: do_start_x11_server(): argc=6
		argv[0] = /opt/local/bin/X
		argv[1] = :0
		argv[2] = -nolisten
		argv[3] = tcp
		argv[4] = -auth
		argv[5] = /Users/pete/.serverauth.10003
	2008-12-18 13:35:43.581 X11[10002] 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: 20081218
	(EE) XKB: Couldn't open rules file /opt/local/share/X11/xkb/rules/base
	(EE) XKB: Couldn't open rules file /opt/local/share/X11/xkb/rules/base
	Could not init font path element /usr/X11R6/lib/X11/fonts/OTF,  
removing from list!
	localhost being added to access control list
	xmodmap:  please release the following keys within 2 seconds:
	    Meta_L (keysym 0xffe7, keycode 63)
	xmodmap:  please release the following keys within 4 seconds:
	    Meta_L (keysym 0xffe7, keycode 63)
	xmodmap:  please release the following keys within 8 seconds:
	    Meta_L (keysym 0xffe7, keycode 63)
	xmodmap:  please release the following keys within 16 seconds:
	    Meta_L (keysym 0xffe7, keycode 63)
	    Control_L (keysym 0xffe3, keycode 67)
	(EE) XKB: Couldn't open rules file /opt/local/share/X11/xkb/rules/base
	(EE) XKB: Couldn't open rules file /opt/local/share/X11/xkb/rules/base
	Could not init font path element /usr/X11R6/lib/X11/fonts/OTF,  
removing from list!
	
	waiting for X server to shut down Quitting Xquartz...

No key pressed! I have my own .xmodmaprc file:

	clear Mod1
	keycode 66 = Meta_L
	add Mod1 = Meta_L

With my ~/.xserverrc file this is displayed:

	X11.app: main(): argc=2
		argv[0] = /Applications/MacPorts/X11.app/Contents/MacOS/X11
		argv[1] = -psn_0_18481153
	X11.app: Could not connect to server (DISPLAY is not set).  Starting  
X server.
	X11.app: Launching /opt/local/bin/startx:
		argv[0] = /opt/local/bin/startx
	Waiting for startup parameters via Mach IPC.
	bootstrap_look_up(): 1102l
	xauth:  creating new authority file /Users/pete/.serverauth.11591
	
	X11.app: do_start_x11_server(): argc=4
		argv[0] = X
		argv[1] = :0
		argv[2] = -dpi
		argv[3] = 96
	2008-12-18 14:15:35.507 X11[11590] 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: 20081218
	(EE) XKB: Couldn't open rules file /opt/local/share/X11/xkb/rules/base
	(EE) XKB: Couldn't open rules file /opt/local/share/X11/xkb/rules/base
	Could not init font path element /usr/X11R6/lib/X11/fonts/OTF,  
removing from list!
	localhost being added to access control list
	BScreen::BScreen: managing screen 0 using visual 0x22, depth 24
	FreeType: couldn't find encoding 'jisx0201.1976-0' for '/Library/ 
Fonts/CaslonBold.ttf'
	Dec 18 14:16:04 Latsche crashdump[11641]: xterm crashed
	Dec 18 14:16:09 Latsche crashdump[11640]: crash report written to: / 
Users/pete/Library/Logs/CrashReporter/xterm.crash.log

The crashing xterm is from MacPorts (crash logs available upon  
request, some sent to Apple). The original one form /usr/X11R6/bin  
works. With my German keyboard layout the alt/Option key does not  
seem to work. []|\{}~ do not exist. Instead Console shows for some keys:

	DarwinPressModifierKey bad keycode: key=7
	DarwinPressModifierKey bad keycode: key=7

When I remove my .xmodmaprc file it's better. MacPorts also installed  
a faulty ~/.tcshrc file. The new X server produces sounds, trying to  
signal I made an error. In GNU Emacs 23.0.60 the shell does not work  
correctly: after a RETurn the cursor is not placed right of prompt  
but is left at the left end or beginning of the line, i.e., "before"  
the cursor.

--
Greetings

   Pete

The most exciting phrase to hear in science, the one that heralds new  
discoveries, is not "Eureka!" (I found it!) but "That's funny..."
				– Isaac Asimov





More information about the Xquartz-dev mailing list