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

So my X11 is completely messed up.

The problem started after using Octave/Gnuplot (installed through downloaded package, not MacPorts) to plot some data. After rebooting, when trying plotting again, X11 just failed to start. The icon jumped once, and then disappeared.

So I tried installing XQuartz, but I got the same problem. The Console says:

11/4/11 12:23:16.861 AM [0x0-0x272272].org.macosforge.xquartz.X11: /Applications/Utilities/ line 3: dirname: command not found
11/4/11 12:23:16.938 AM [0x0-0x272272].org.macosforge.xquartz.X11: /Applications/Utilities/ line 9: basename: command not found
11/4/11 12:23:16.938 AM [0x0-0x272272].org.macosforge.xquartz.X11: /Applications/Utilities/ line 14: /X11.bin: No such file or directory
11/4/11 12:23:16.938 AM [0x0-0x272272].org.macosforge.xquartz.X11: /Applications/Utilities/ line 14: exec: /X11.bin: cannot execute: No such file or directory
11/4/11 12:23:16.939 AM ([0x0-0x272272].org.macosforge.xquartz.X11[65054]) Exited with code: 126

Then I thought that maybe I a good idea was to uninstall X11 and XQuartz completely and reinstall it from scratch (I have used a licensed copy of CleanMyMac to remove XQuartz and some Terminal commands to remove X11 related directories). Wrong. Now the installer keep saying that X11 is already installed, at a newer version and thus cannot be reinstalled.

Do you have any ideas of what's going on and how should I cope with this?

Thank you

share|improve this question
up vote 1 down vote accepted

Did you delete the receipts for X11 and XQuartz?

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.