Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
Do you set DISPLAY in .bashrc/.profile/.bash_profile or the like? Check it by starting and typing echo $DISPLAY. – jaume May 15 '13 at 10:28
No, I don't set it. – user1192466 May 17 '13 at 11:30
up vote 3 down vote accepted

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:

share|improve this answer

I don't have to launch xQuartz, I just use Terminal and ssh -Y user@IP. Then X emulation appears to be available as I can launch X windows from the server.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.