Re: X11 Leopard Fails to Start
Re: X11 Leopard Fails to Start
- Subject: Re: X11 Leopard Fails to Start
- From: "M. Stanley Bubien" <email@hidden>
- Date: Wed, 31 Oct 2007 14:24:22 -0700
- Organization: http://www.storybytes.com
Found the problem.
I actually tried all these concrete suggestions prior to sending to the
list. And these weren't the issue. Not exactly anyway.
I had my "DISPLAY=localhost:0" set even before any login scripts were
executed. Turns out, ages and ages ago, I played with a MacOSX plist
to set environment variables for all applications.
~/.MacOSX/environment.plist
This file had the DISPLAY environment in it. When ANY Mac OS X app starts,
the included settings are exported to that app -- including Terminal.app
and X11.app.
Eliminating that file fixed X11.
-Mark
Rich Cook wrote:
> So concrete suggestion would be: eliminate your login script (rename it
> temporarily) and see if it works. If it does, then start putting things
> back one by one until it breaks again.
> You can also try putting
> set -vx
> in your login script and watch the console for what happens during
> launch, I believe.
>
> On Oct 31, 2007, at 1:29 PM, Martin Costabel wrote:
>
>> M. Stanley Bubien wrote:
>>>>> If I use the Terminal and fire up "/usr/X11/bin/X" I can the start an
>>>>> > "xterm" by hand -- with my default DISPLAY=localhost:0 -- and it
>>>>> works
>>>>> > fine. So I'm totally at a loss. Any pointers?
>>>>
>>>> Don't set DISPLAY in your shell login script.
>>>>
>>>> -- Martin
>>> Thanks for the reply, but this doesn't really do anything but break
>>> things worse. :)
>>
>> This is proof that you have worse stuff in your shell login script. ;-)
>>
>>> Again, my main issue is that X11 does NOT start when I double-click
>>> the X11.app in the Utilities directory.
>>
>> When you double-click that X11.app, it runs
>>
>> /usr/bin/login -fp /usr/bin/X11/xterm
>>
>> If it doesn't work, the most probable cause is that the scripts
>> executed by the login command prevent it from running.
>>
>> --
>> Martin
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> X11-users mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
--
------------------------------------------------------------------------
M. Stanley Bubien | ** STORY BYTES ** | Story Bytes better
email@hidden | <http://www.storybytes.com> | than sound bites
------------------------------------------------------------------------
A mailing list of *very* short stories (2 words and up) sent weekly.
------------------------------------------------------------------------
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden