swtich back to the default (Xquartz) X11 server

iulian dragos jaguarul at gmail.com
Fri Jan 21 06:24:34 PST 2011


Sorry for the noise. Things went back to normal after I removed the
org.macports.startx launch agent (and a reboot). But it does look like
macports adds its own launch agent for X!

On Fri, Jan 21, 2011 at 2:35 PM, iulian dragos <jaguarul at gmail.com> wrote:
> On Fri, Jan 21, 2011 at 2:25 PM, iulian dragos <jaguarul at gmail.com> wrote:
>> On Fri, Jan 21, 2011 at 2:18 PM, Ryan Schmidt <ryandesign at macports.org> wrote:
>>> On Jan 21, 2011, at 07:14, iulian dragos wrote:
>>>
>>>> I installed xorg from port, but now I would like to switch back to the
>>>> Apple one. I tried uninstalling xorg, but my X applications complain:
>>>
>>> Define "switch". How did you "switch" to the MacPorts X11 in the first place? Normally, MacPorts X11 is only running if you tell it to by opening /Applications/MacPorts/X11.app. You can configure the system to automatically open MacPorts X11. But if you did that, you'd know the commands you entered to do that, and you could follow similar steps to switch back to Apple's/Xquartz's.
>>
>> I didn't do anything special to make MacPorts the default X11 server.
>> I was under the impression that it was always starting that one after
>> I installed it. Given that so far I couldn't get anything to work from
>> MacPorts, it's a bit hard to know exactly what X server it tried (and
>> failed) to work with.
>>
> > Currently (after uninstalling xorg-server) when I run a gnome program
>> I see an error (see the original message) that indicates it couldn't
>> open the display.
>>
>> To reformulate: how can I make sure that X applications coming from
>> macports can connect to Apple's X server? (which is already running)
>
> To make the discussion more concrete, here's what happens when running XFig:
>
> $ xfig
> Error: Can't open display: /tmp/launch-zx2vZu/org.macports:0
>
> And here's what I see in the system log (a bunch of them):
>
> 1/21/11 2:34:40
> PM      com.apple.launchd.peruser.501[202]      (org.macports.startx[62581])
> posix_spawn("/opt/local/bin/startx", ...): No such file or directory
> 1/21/11 2:34:40
> PM      com.apple.launchd.peruser.501[202]      (org.macports.startx[62581])
> Exited with exit code: 1
>
> any ideas?
>
> thanks,
> iulian
>
>>
>> thanks for your reply,
>> iulian
>>
>>>
>>>
>>>
>>
>>
>>
>> --
>> « Je déteste la montagne, ça cache le paysage »
>> Alphonse Allais
>>
>
>
>
> --
> « Je déteste la montagne, ça cache le paysage »
> Alphonse Allais
>



-- 
« Je déteste la montagne, ça cache le paysage »
Alphonse Allais


More information about the macports-users mailing list