Macos – How to restore x11 after removing xquartz on osx

macososx-snow-leopardxorg

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: http://xquartz.macosforge.org/trac/wiki/X11-UsersFAQ
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?

Best Answer

Found a solution:

http://lists.apple.com/archives/x11-users/2010/Aug/msg00012.html

The bit i needed was the following:

launchctl load -w /System/Library/LaunchAgents/org.x.startx.plist
logout
login
Related Question