[Xquartz-dev] 2.1.2 release candidate

William Davis frstan at bellsouth.net
Tue Jan 8 15:33:55 PST 2008


On Jan 8, 2008, at 6:13 PM, Jeremy Huddleston wrote:

> What do you see in the log when you put an 'echo $PATH >&2' at the  
> top of /usr/X11/bin/startx?
>
> After I sanitized my own environment (moving ~/.profile and  
> ~/.bashrc out of the way), I got:
>
> 2008.01.08 15:04:37 aerith org.x.X11[1768] org.x.X11 1768  
> com.apple.console Notice /usr/local/bin:/usr/local/sbin:/Developer/ 
> Tools:/usr/local/kde/4/bin:/usr/local/Trolltech/Qt-4/bin:/opt/local/ 
> bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/ 
> usr/X11/bin:/Applications/Pixar/RenderMan.app/Versions/ 
> RenderManProServer-13.0.2G4/bin
>
> I am certain that /usr/X11/bin is only getting added to my path via / 
> etc/profile's:
>
> if [ -x /usr/libexec/path_helper ]; then
> 	eval `/usr/libexec/path_helper -s`
> fi
>
> What happens if you do this on your own from Terminal.app:
>
> $ unset PATH
> $ /bin/bash --login /usr/X11/bin/startx
>
> Doing that, I STILL get X to start and the proper path displayed at  
> the top.  It seems that somehow your '/bin/bash --login' might not  
> be setting up your environment right.  Can you tell me what you get  
> when you do:
>
> $ unset PATH
> $ /bin/bash --login
> subshell $ echo $PATH
>
> --Jeremy
>
>
>
>
> On Jan 8, 2008, at 14:33, Martin Costabel wrote:
>
>> Jeremy Huddleston wrote:
>>> oh... also, if you can try installing the 2.1.2 rc, what happens  
>>> if  you run 'startx' from Terminal.app?  Also, what happens if you  
>>> run  'unset DISPLAY; startx' from Terminal.app?
>>
>> 2.1.2 is broken for me, too. in the console log, I am seeing a lot of
>>
>> <Notice>: /usr/X11/bin/startx: line 168: xauth: command not found
>>
>> Maybe you need to define a PATH containing /usr/X11/bin inside the  
>> startx script?
>>
>> Indeed, if I add a line
>>
>> export PATH=/usr/X11/bin:$PATH
>>
>> at the beginning of /usr/X11/bin/startx, the automatic startup works.
>>
>> -- 
>> Martin
>>
>>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> X11-users mailing list      (X11-users at lists.apple.com)
> Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/frstan%40bellsouth.net
>
> This email sent to frstan at bellsouth.net

Console log shows xauth - command not found and xinit - command not  
found
my PATH is set in ~/.profile and has never included setting X11 .  
However when I add :/usr/X11/bin to the existing export PATH line then  
all appears normal and X11 works.

William Davis
frstanATbellsouthDOTnet
Mac OS X.5.1 Darwin 9.1.0
X11.app 2.1.1 - (xorg-server 1.3.0-apple5)
Mac Mini Intel Duo @ 1.86 GHz

Mundus vult decepi, ego non



More information about the Xquartz-dev mailing list