Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: zsh environment not always set properly using XQuartz's X11.app (v2.3.3.2)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: zsh environment not always set properly using XQuartz's X11.app (v2.3.3.2)



> That's expected, since the server is already running.  /usr/X11/bin/
> XQuartz doesn't need to find and exec it, so that line is not present.
>
> You should put something like:
>
> echo "In the X11 start script"
>
> in the X11 startup script to make sure it's executing.

tried that, no luck.  blew away my X11 install and reinstalled form
xquartz 2.3.3.2, now it seems to work fine.  maybe the problem stemmed from
having installed over apple's X11?  even though in theory that is
supposed to work fine, right?

thanks for the help!

- daniel

On Tue, Jun 16, 2009 at 07:46:59PM -0700, Jeremy Huddleston wrote:
>
> On Jun 16, 2009, at 14:08, Daniel Sproul wrote:
>
> >On Mon, Jun 15, 2009 at 08:09:34PM -0700, Jeremy Huddleston wrote:
> >>well if that script isnt being run when you launch, then how is X11
> >>starting?  Info.plist in the app bundle should list that script as
> >>the
> >>executable to run... furthermore there should be mo diff between
> >>launching X11 from the dock or letting launchd handle it... using
> >>startx will result in no launchd support but that is another issue
> >
> >how is X11 starting?  no idea... i don't really have a great grasp of
> >how OSX app launching works under the hood.  it looks like the X11
> >script *is* set as the executable to run in Info.plist.  however, it
> >seems like if i just remove that script entirely, i can still start
> >X11
> >from the dock just fine, but not "startx" or "xterm &" from
> >Terminal.app.
> >
> >if anyone cares to take a look, i've attached two sets of console
> >output, one for launching from the dock (with the X11 script in its
> >proper place), one for doing "xterm &" from Terminal.app
> >
> >run from the dock, most of the calling pids are from org.x.X11.  the
> >first few lines look like:
> >
> >[0x0-0x41041].org.x.X11[2740]   X11.app: main(): argc=2
> >[0x0-0x41041].org.x.X11[2740]       argv[0] = /Applications/
> >Utilities/X11.app/Contents/MacOS/X11.bin
> >[0x0-0x41041].org.x.X11[2740]       argv[1] = -psn_0_266305
> >
> >run from a terminal.app, most of the calling pids are from
> >org.x.startx.
> >a few lines down we have:
> >
> >org.x.startx[1624]  Xquartz: X11.app = /Applications/Utilities/
> >X11.app/Contents/MacOS/X11
> >org.x.startx[1624]  Xquartz: Starting X server: /Applications/
> >Utilities/X11.app/Contents/MacOS/X11 --listenonly
> >org.x.startx[1624]  X11.app: main(): argc=2
> >org.x.startx[1624]      argv[0] = /Applications/Utilities/X11.app/
> >Contents/MacOS/X11.bin
> >org.x.startx[1624]      argv[1] = --listenonly
> >
> >so i guess notably the line
> >
> >org.x.startx[1624]  Xquartz: X11.app = /Applications/Utilities/
> >X11.app/Contents/MacOS/X11
> >
> >is absent when launching from the dock.
> >
> >...???
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)

This email sent to email@hidden

References: 
 >zsh environment not always set properly using XQuartz's X11.app (v2.3.3.2) (From: Daniel Sproul <email@hidden>)
 >Re: zsh environment not always set properly using XQuartz's X11.app (v2.3.3.2) (From: Jeremy Huddleston <email@hidden>)
 >Re: zsh environment not always set properly using XQuartz's X11.app (v2.3.3.2) (From: Daniel Sproul <email@hidden>)
 >Re: zsh environment not always set properly using XQuartz's X11.app (v2.3.3.2) (From: Jeremy Huddleston <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.