XQuartz is not known to work with Homebrew, though if you have it working on your machine let us know.