Hello, I am having problems starting x11 on 10.6.4, and I can't figure it out on my own, and cannot find the answer elsewhere.
First, a really quick question: does installing X11 create a path by default to startx from my home directory? I kept getting 'startx: Command not found', and had to add /usr/X11/bin to .bash_profile
Now, to the main problem: when I dbl-click on X11 or type startx in Terminal I get >>>
phoenix:etc tg$ startx font_cache: Scanning user font directories to generate X11 font caches font_cache: Updating FC cache xauth: creating new authority file /Users/tg/.serverauth.23486
launch_msg("CheckIn") IPC failure: Operation not permitted Xquartz: Unable to locate waiting server: org.x.X11 Xquartz: X11.app = /Applications/Utilities/X11.app/Contents/MacOS/X11 Xquartz: Starting X server: /Applications/Utilities/X11.app/Contents/MacOS/X11 --listenonly launch_msg("CheckIn") IPC failure: Operation not permitted Xquartz: Unable to locate waiting server: org.x.X11 (last four lines repeats many times...) fork: Resource temporarily unavailable
waiting for X server to begin accepting connections . Xquartz: bootstrap_look_up(): Unknown service name Xquartz: bootstrap_look_up(): Unknown service name Xquartz: bootstrap_look_up(): Unknown service name (repeats many times...)
giving up. /usr/X11/bin/xinit: Connection refused (errno 61): unable to connect to X server
waiting for X server to shut down ..........
/usr/X11/bin/xinit: X server slow to shut down, sending KILL signal. /usr/X11/bin/xinit: No such process (errno 3): Server error.
<<<
Sometimes, it will loop, the icon will bounce in the Dock, disappear and come back, and the Activity Monitor will show many X11 processes that come and go.
About display: phoenix:~ tg$ echo $DISPLAY /tmp/launch-Z3GFmJ/org.x:0
Here's what happens when I change it to a particular value that I've seen a couple times on lists like this one (though I'm not sure what this value sets) >>>
phoenix:~ tg$ DISPLAY="" /Applications/Utilities/X11.app/Contents/MacOS/X11.bin X11.app: DISPLAY does not look like a launchd set variable, unsetting. X11.app: main(): argc=1 argv[0] = /Applications/Utilities/X11.app/Contents/MacOS/X11.bin 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] = /bin/sh argv[1] = -c argv[2] = /usr/X11/bin/startx font_cache: Scanning user font directories to generate X11 font caches font_cache: Updating FC cache xauth: creating new authority file /Users/tg/.serverauth.9139 xauth: (stdin):2: unknown command "a8c1bd3209224755efe283953895e263" xauth: (stdin):3: unknown command "a8c1bd3209224755efe283953895e263" xauth: (stdin):4: unknown command "a8c1bd3209224755efe283953895e263" xauth: (stdin):5: unknown command "a8c1bd3209224755efe283953895e263"
launch_msg("CheckIn") IPC failure: Operation not permitted X11.app: No launchd socket handed off, unsetting DISPLAY 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/tg/.serverauth.9139 2010-08-13 17:15:02.664 X11.bin[9137:903] Could not connect the action apps_table_cancel: to target of class X11Controller Xquartz starting: X.Org X Server 1.4.2-apple53 Build Date: 20100211 (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 font_cache: Done
<<<
I reinstalled X11 that came with the 10.6 install disc, reinstalled the 10.6.4 combo update, and reinstalled Xcode. No luck, nor with deleting ~home/Library/Preferences/org.x.x11.plist (what IS interesting: my first plist delete was com.apple.x11.plist; this hasn't come back). Any help would be greatly appreciated. Many thanks. |