• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [Xquartz-dev] 2.1.2 release candidate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: [Xquartz-dev] 2.1.2 release candidate
      • From: Jeremy Huddleston <email@hidden>
References: 
 >2.1.2 release candidate (From: Jeremy Huddleston <email@hidden>)
 >Re: [Xquartz-dev] 2.1.2 release candidate (From: Jamie Kennea <email@hidden>)
 >Re: [Xquartz-dev] 2.1.2 release candidate (From: Jeremy Huddleston <email@hidden>)
 >Re: [Xquartz-dev] 2.1.2 release candidate (From: Jeremy Huddleston <email@hidden>)
 >Re: [Xquartz-dev] 2.1.2 release candidate (From: Martin Costabel <email@hidden>)
 >Re: [Xquartz-dev] 2.1.2 release candidate (From: Jeremy Huddleston <email@hidden>)

  • Prev by Date: Re: Remote client display to Leopard X11
  • Next by Date: Re: [Xquartz-dev] 2.1.2 release candidate
  • Previous by thread: Re: [Xquartz-dev] 2.1.2 release candidate
  • Next by thread: Re: [Xquartz-dev] 2.1.2 release candidate
  • Index(es):
    • Date
    • Thread