[Xquartz-dev] 2.1.2 release candidate

Jeremy Huddleston jeremyhu at berkeley.edu
Tue Jan 8 15:13:21 PST 2008


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
>
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3040 bytes
Desc: not available
Url : http://lists.macosforge.org/pipermail/xquartz-dev/attachments/20080108/1eaa48f8/smime.bin


More information about the Xquartz-dev mailing list