Re: [Xquartz-dev] 2.1.2 release candidate
Re: [Xquartz-dev] 2.1.2 release candidate
- Subject: Re: [Xquartz-dev] 2.1.2 release candidate
- From: Martin Costabel <email@hidden>
- Date: Wed, 09 Jan 2008 00:53:32 +0100
Jeremy Huddleston wrote:
[]
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
This shows the problem, I get
/usr/X11/bin/startx: line 168: xauth: command not found
and so on.
Since I am using tcsh as my login shell, I have never paid attention to
what bash -l is doing on this account. In fact, my /etc/profile was an
old one from 2005 that was not using path_helper. The Leopard installer
did not replace it (I did an upgrade-install), but put its own version
as /etc/profile.system_default beside it.
Now that I copied the new /etc/profile (which is using path_helper),
startx is working as intended.
This is the first time I have seen /etc/profile playing any role, and I
am not convinced it should. Why is bash -l executed when my login
shell is tcsh and my working environment is set up by the tcsh startup
scripts?
--
Martin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden