Re: X11 autostart not working
Re: X11 autostart not working
- Subject: Re: X11 autostart not working
- From: David Barto <email@hidden>
- Date: Tue, 11 Jun 2013 18:21:56 +0000
- Thread-topic: X11 autostart not working
Huh.
Just logged in again to the account and BOOM, the DISPLAY is there.
I guess it just wanted some time alone to think about it.
Thanks, problem solved (for now).
David
On Jun 11, 2013, at 9:41 AM, Jeremy Huddleston Sequoia <email@hidden>
wrote:
>
> On Jun 11, 2013, at 6:09 AM, David Barto <email@hidden> wrote:
>
>> (from my work account now…)
>>
>> This is getting weirder.
>>
>> Store the command sequence where I can get to it again.
>>
>> echo "launchctl load -w /Library/LaunchAgents/org.macosforge.xquartz.startx.plist" > /tmp/XXX
>>
>> Verify no display in the environment.
>> env | grep DIS
>>
>> Load the xquartz agent
>> sh /tmp/XXX
>>
>> Check for display
>>
>> env | grep DIS
>>
>> Erm that is strange, did it load?
>
>
> It is expected that DISPLAY would not be set at this point because there's no way for launchd to change the environment of children after they're spawned, but you could do 'launchctl getenv DISPLAY' to see what it would be getting set to on new processes. This is why I suggested you logout.
>
> <snip/>
>
>> Logout
>> Login
>>
>> Check for environment
>> env | grep DIS
>
> <snip/>
>
>> So, where next master?
>
> Check out /var/db/launchd.db/com.apple.launchd.peruser.<your uid>/overrides.plist … Does the file exist? Is it writeable? What are its contents for org.macosforge.xquartz.startx?
>
>>
>> David
>>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden