Re: Explanation of X implementations
Re: Explanation of X implementations
- Subject: Re: Explanation of X implementations
- From: "Ambrose Li" <email@hidden>
- Date: Fri, 16 Nov 2007 23:50:19 -0500
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)
This email sent to email@hidden