MacOS – Start XQuartz automatically on X11 app launch

macosx11xquartz

Before switcthing to Mac OSX 10.8 everytime I launch application which uses x11 it was starting x11 automatically.

After switching to XQuartz and 10.8 it does not work anymore and I have to launch XQuartz manually.

How to launch XQuartz on demand?

Best Answer

I was having the same problem. Quitting XQuartz and deleting ~/.Xauthority resolved the issue for me. I got the idea to do this from the Mountain Lion, Xquartz, and (lost) autostart thread in the Apple Mailing List. Other suggestions from that thread include: