On May 16, 2013, at 9:46 PM, Leo Singer <[email protected]> wrote:

> On Mountain Lion, how do you configure X11 (provided by MacPorts' xorg port) 
> to start automatically as needed? When I am Terminal.app, if I run 'xclock', 
> I just get:
> 
>    Error: Can't open display: 
> 
> It works fine if I open /Applications/MacPorts/X11.app, then open an xterm 
> window, and then run 'xclock' from there.

Did you load the xorg-server LaunchAgent, then log out and back in?

    % launchctl load -w /Library/LaunchAgents/org.macports.startx.plist

Yeah, the xinit install tells you to do this. Very briefly. If you're paying 
attention.

http://trac.macports.org/browser/trunk/dports/x11/xinit/Portfile#L82

vq
_______________________________________________
macports-users mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to