Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Explanation of X implementations



On 16/11/2007, Ben Byer <email@hidden> wrote:
>  First, when I launch the regular terminal, it runs X now as well.
> Just to tackle this -- this probably means you have something in your
> .bash_profile (or other appropriate startup configuration file) that deals
> with X or X configuration -- xmodmap, perhaps?  As soon as you run anything
> that connects to $DISPLAY, X11.app will start.

This reminds me of something. Before launchd support, the standard
way to check whether a script is running in X (that is, whether X is
*already* up) is to check whether $DISPLAY is defined. Now that
assumption is wrong. This means that launchd support has broken
backward compatibility in a very fundamental level.

(I would bet that this is why .bash_profile or .bashrc is running X
programs—because $DISPLAY is set so it assumes that it *should*
run those X programs.)

Just a thought...
-- 
cheers,
-ambrose

Yahoo and Gmail must die. Yes, I use them, but they still must die.
PS: Don't trust everything you read in Wikipedia. (Very Important)
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/email@hidden

This email sent to email@hidden

References: 
 >Re: Explanation of X implementations (From: John Bassett <email@hidden>)
 >Re: Explanation of X implementations (From: Ben Byer <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.