[MacPorts] #43000: Macports install fails to launch X11

MacPorts noreply at macports.org
Tue Mar 25 13:10:34 PDT 2014


#43000: Macports install fails to launch X11
-----------------------------------+--------------------------------
  Reporter:  agtebo@…              |      Owner:  macports-tickets@…
      Type:  defect                |     Status:  closed
  Priority:  Normal                |  Milestone:
 Component:  ports                 |    Version:  2.2.1
Resolution:  worksforme            |   Keywords:
      Port:  xorg-server, demeter  |
-----------------------------------+--------------------------------

Comment (by jeremyhu@…):

 Replying to [comment:9 agtebo@…]:
 > This is the FAQ to which I am referring:
 http://xquartz.macosforge.org/trac/wiki/X11-UsersFAQ

 That is the XQuartz FAQ, not an X.org FAQ.

 > According to the xinit portfile to select the Macports port as the
 default, I need to log out and then back in after installing it and
 loading the LaunchAgent. I did that, and nothing changed with my DISPLAY.

 You need to also disable the XQuartz LaunchAgent.

 > If I deactivate the macosforge LaunchAgent it won't unload completely.

 What do you mean by that?  What do you mean by "deactivate" and what do
 you mean by "won't unload completely".  Copy/paste exactly what you're
 doing from terminal and its output.

 > If I load MacPorts, it says it's loaded but doesn't change the DISPLAY.

 If you have multiple LaunchAgents setting DISPLAY, it's not guaranteed
 which one will win.  You need to load only one and then relog.

 > Same with x.org as well (this is after logging out and back in).

 What do you mean "x.org" ?  Do you mean XQuartz?

 >  I've removed their version from my computer, so I don't know how their
 LaunchAgent keeps superseding the ones I try to load.

 I assume you mean XQuartz.  What did you do to remove XQuartz?  My guess
 is you didn't follow the instructions in the FAQ and left the LaunchAgent.

 > Is there any way to see why Macports is not being installed as the
 default?

 Run this:

 launchctl list | grep startx

 That will tell you which startx agents are loaded.

 You need to have only one loaded, and it needs to be loaded at login.

-- 
Ticket URL: <https://trac.macports.org/ticket/43000#comment:10>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list