[Xquartz-dev] 2.1.2 release candidate
Jeremy Huddleston
jeremyhu at berkeley.edu
Thu Jan 10 00:32:31 PST 2008
On Jan 10, 2008, at 00:17, Martin Costabel wrote:
> 1.) I start X11 ("XQuartz 2.1.2 - (xorg-server 1.3.0-apple6)",
> latest rc as of yesterday, with the PATH fix in startx) by
> triggering launchd with some command like xrdb or ssh -Y and
> starting an xterm from the remote machine.
>
> 2.) I select "Terminal" from the Applications menu of X11. An xterm
> pops up with my usual tcsh prompt, so my tcsh startup scripts must -
> somehow - have been executed
>
> 3.) `ps x` shows "/usr/bin/login -fp costabel /bin/sh -c xterm"
>
> 4.) `printenv PATH` in the xterm gives
>
> /usr/X11/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/
> bin:/usr/X11/bin
>
> I have no idea where this PATH is coming from. Not from my shell
> startup scripts, in any case.
>
> I do have, in fact, a file ~/.MacOSX/environment.plist on this
> account, which sets an entirely different PATH, as does my usual tcsh
> startup procedure. Removing or changing ~/.MacOSX/environment.plist
> does not change the situation.
Define "my usual tcsh startup procedure". What is PATH in Terminal.app?
>> Applications menu are started via /usr/bin/login -f ...., so your
>> tcsh environment will be handed off to that application.
>> Unfortunately XQuartz itself wont have the right environment, but
>> that is fixable by setting up PATH right in your {/etc/,~/.}profile
>
> I don't care about the environment of XQuartz; does it play any role
> at all?
Yes, it's inherited from by applications you start from the
Applications menu.
> What I care about is the environment transmitted to the programs run
> by the Applications menu of X11.
That is XQuartz's environment.
> And this used to work correctly in previous releases. I don't have
> time now to check what exactly it did in raw Leopard X11 and in each
> one of your earlier releases, but I suspect that /usr/bin/login on
> Leopard is buggy and does not do what its documentation says.'
Can you please take the few steps I iterated in the previous email and
tell me the result.
-------------- 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/20080110/d3925297/smime.bin
More information about the Xquartz-dev
mailing list