Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

I tried to install xquartz but gave up half way, so i'm trying to remove it and go back to X11. I followed all the instructions here: But i think its not properly done, because when i try to start wireshark (which uses X), i get the following error:

(wireshark-bin:846): Gtk-WARNING **: cannot open display: 

Can someone help explain how i can ensure X11 is all set up right?

share|improve this question
I think its something to do with my DISPLAY environment var. When i do 'set' from the terminal, there's no DISPLAY var set. Does that matter? – Chris Feb 23 '11 at 3:23
Heres something interesting in the output from when i try 'startx' from terminal: No launchd socket handed off, unsetting DISPLAY – Chris Feb 23 '11 at 3:36
It's time you accept your own answer. This topic was just bumped to the front page by Community. – Daniel Beck Apr 4 '11 at 20:48

Found a solution:

The bit i needed was the following:

launchctl load -w /System/Library/LaunchAgents/org.x.startx.plist
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.