• 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: Jeremy Huddleston <email@hidden>
  • Date: Tue, 8 Jan 2008 15:13:21 -0800

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



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: Martin Costabel <email@hidden>
    • Re: [Xquartz-dev] 2.1.2 release candidate
      • From: William Davis <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>)

  • Prev by Date: Remote client display to Leopard X11
  • Next by Date: Re: Remote client display to Leopard X11
  • 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