Re: x11 won't start up; keeps trying
Re: x11 won't start up; keeps trying
- Subject: Re: x11 won't start up; keeps trying
- From: Jeremy Huddleston <email@hidden>
- Date: Fri, 13 Aug 2010 16:21:07 -0700
On Aug 13, 2010, at 16:14, Tom Grace wrote:
> 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
1) Yes, you should have /usr/X11/bin in your path because it is added by /etc/profile which uses /usr/libexec/path_helper to setup PATH
2) startx should not be run by you directly. It should be run by launchd.
> Now, to the main problem: when I dbl-click on X11 or type startx in Terminal I get >>>
Don't run 'startx' in Terminal. If you want to launch X11 from the Terminal, just run the application you want, like 'xterm'
> 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
That looks right. What happens when you run 'xterm' ?
>
> 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"
That looks like a possible problem. Try removing all your xauth files:
rm ~/.serverauth* ~/.Xauth*
> 2010-08-13 17:15:02.664 X11.bin[9137:903] Could not connect the action apps_table_cancel: to target of class X11Controller
?? This is odd. It looks like you have an issue with the interface. What are your OSX localization settings?
> 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
Ok. It looks like X11 is started at this point.
> 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.
You need to provide more info. Based on your execution of X11.bin above, it looks like X11 *IS* running... what makes it quit?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden