On Sun, Jul 15, 2012 at 10:39 PM, Kok-Yong Tan <[email protected]>wrote:

> Can anyone tell me what this error means when I try to start wireshark in
> an xterm window via the X11 system:
>
> bash-3.2$ sudo wireshark
>
> (wireshark:11767): Gtk-WARNING **: cannot open display: :0.0
>

It means something messed with $DISPLAY, which you should not set on OS X;
launchd sets it correctly and overriding it can cause problems like this.
 You're probably setting it in .bash_profile (or .profile, or being really
wrong and setting it in .bashrc).  Don't.

-- 
brandon s allbery                                      [email protected]
wandering unix systems administrator (available)     (412) 475-9364 vm/sms
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to