Start X11 automatically when launching programs from Terminal

Leo Singer aronnax at macports.org
Thu May 16 18:46:12 PDT 2013


Hi,

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.

Thanks,
Leo Singer
Graduate Student @ LIGO-Caltech


More information about the macports-users mailing list