Start X11 automatically when launching programs from Terminal
Leo Singer
aronnax at macports.org
Thu May 16 22:53:58 PDT 2013
On May 16, 2013, at 10:40 PM, Lawrence Velázquez <larryv at macports.org> wrote:
> On May 17, 2013, at 12:33 AM, Leo Singer <aronnax at macports.org> wrote:
>
>> On May 16, 2013, at 9:29 PM, Jeremy Huddleston Sequoia <jeremyhu at apple.com> wrote:
>>
>>> On May 16, 2013, at 8:45 PM, Leo Singer <aronnax at macports.org> wrote:
>>>
>>>> Is it really just the patchfile https://trac.macports.org/browser/trunk/dports/x11/xinit/files/disable-launchagent.patch that disables on-demand loading of X11.app by default?
>>>
>>> Yes.
>>>
>>> This approach was taken because X11.app shipped before some Snow Leopard 10.6.3 would not work correctly if $DISPLAY belonged to another server. This is also why the XQuartz package requires 10.6.3 to install.
>>>
>>> It might be worth revisiting this and perhaps just disabling it on Leopard.
>>
>> Yes, please! It would be really nice if the MacPorts X11.app started automatically on Mountain Lion, without any further user intervention.
>
> If we remove that patch, which user would the LaunchAgent end up being active for?
It would become enabled by default for all users. After installing xorg, users logging back in would find it enabled, and it would stay enabled until they <launchctl unload -w>'d it.
See <https://trac.macports.org/ticket/39129>.
Leo
More information about the macports-users
mailing list