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: Tom Grace <email@hidden>
- Date: Sat, 14 Aug 2010 18:25:12 +0200
> On Aug 13, 2010, at 11:12 PM, Tom Grace wrote:
>
>> On 14.08.2010, at 01.21, Jeremy Huddleston 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
>>
>> This isn't in /etc/profile; I wonder how it got lost.
>
> You're not supposed to see that in /etc/profile. That PATH component (among others) is a *consequence* of /etc/profile, because it runs path_helper. Your /etc/profile on 10.6.4 should be simply as follows:
>
>
> # System-wide .profile for sh(1)
>
> if [ -x /usr/libexec/path_helper ]; then
> eval `/usr/libexec/path_helper -s`
> fi
>
> if [ "${BASH-no}" != "no" ]; then
> [ -r /etc/bashrc ] && . /etc/bashrc
> fi
>
>
>> PATH=/usr/X11/bin:/Users/tg/GMT4.5.3/bin:/bin:/sbin:/usr/bin:/usr/local/bin:/usr/sbin:/work/design-type/utilities:/Users/tg/bin/FDK/Tools/osx
>
> You are setting your PATH wholesale somewhere, rather than appending/prepending to it. This is bad. (That's why it was missing /usr/X11/bin.) I can tell because the default PATH includes /usr/bin:/bin:/usr/sbin:/sbin in that order, while you are missing /usr/sbin and the order is wrong. Check your shell startup files as well as ~/.MacOSX/environment.plist.
>
> You might be doing some other, similarly strange thing that is causing or contributing to your remaining X11 problems, although I have no idea what. I leave that to the expert (Jeremy). :-)
Will, I changed /etc/profile to what you have above (commenting out a path that was there), as well as deleting the X11 path I put in ~/.bash_profile. Now echo $PATH gives:
/Users/tg/GMT4.5.3/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/work/design-type/utilities:/Users/tg/bin/FDK/Tools/osx
I looked before for ~/.MacOSX/environment.plist, but believe it doesn't exist.
I ran xterm after these changes and still got errors like in the original post (shown in Console, not in Terminal) -->
14.08.10 18:13:57 org.x.startx[84224] font_cache: Scanning user font directories to generate X11 font caches
14.08.10 18:13:57 org.x.privileged_startx[84232] font_cache: Scanning system font directories to generate X11 font caches
14.08.10 18:13:57 defaults[84243]
The domain/default pair of (org.x.X11, dpi) does not exist
14.08.10 18:13:57 org.x.startx[84224] font_cache: Updating FC cache
14.08.10 18:13:57 org.x.startx[84224] xauth: creating new authority file /Users/tg/.serverauth.84224
14.08.10 18:13:58 org.x.privileged_startx[84232] font_cache: Updating FC cache
14.08.10 18:13:59 org.x.startx[84224] xauth: (stdin):2: unknown command "c72cb731c4508dd64f667b962d49cd95"
14.08.10 18:13:59 org.x.startx[84224] xauth: (stdin):3: unknown command "c72cb731c4508dd64f667b962d49cd95"
14.08.10 18:13:59 org.x.startx[84224] xauth: (stdin):4: unknown command "29b4f0e87b9da797ca85785196d48c7f"
14.08.10 18:13:59 org.x.startx[84224] Xquartz: Unable to locate waiting server: org.x.X11
14.08.10 18:13:59 org.x.startx[84224] Xquartz: X11.app = /Applications/Utilities/X11.app/Contents/MacOS/X11
14.08.10 18:13:59 org.x.startx[84224] Xquartz: Starting X server: /Applications/Utilities/X11.app/Contents/MacOS/X11 --listenonly
14.08.10 18:13:59 org.x.startx[84224] launch_msg("CheckIn") IPC failure: Operation not permitted
14.08.10 18:13:59 org.x.startx[84224] Xquartz: Unable to locate waiting server: org.x.X11
14.08.10 18:13:59 org.x.startx[84224] Xquartz: X11.app = /Applications/Utilities/X11.app/Contents/MacOS/X11
14.08.10 18:13:59 org.x.startx[84224] Xquartz: Starting X server: /Applications/Utilities/X11.app/Contents/MacOS/X11 --listenonly
(repeats)
14.08.10 18:14:01 org.x.startx[84224] fork: Resource temporarily unavailable
14.08.10 18:14:02 org.x.startx[84224] waiting for X server to begin accepting connections
14.08.10 18:14:03 org.x.startx[84224] .
14.08.10 18:14:04 org.x.startx[84224] .
14.08.10 18:14:05 org.x.startx[84224] .
(etc etc)
<--
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden