Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-users: [Wireshark-users] Gtk-WARNING **: cannot open display:

From: "Robert D." <210525p42015@xxxxxxxxxxxxxx>
Date: Tue, 13 Feb 2007 12:21:07 -0500
My google searching discovers this is pervasive. None the less, I can't
seem to solve it on my system.

If I type: sudo wireshark in Terminal (and give password) then I get:

(wireshark:528): Gtk-WARNING **: cannot open display:

If I navigate waaaaay down the tree in
opt/local/var/db/dports/software/wireshark/0.99.5_0+darwin_8/opt/local/share

and double click the unix executable Wireshark, then it runs but
obviously hasn't the ability to find the network points.

One time, shortly after re-installing X-11 this morning, I was able to
do a sudo wireshark and have it run corectly AND locate the various
network points.

When I discovered that none of my running programs could get to the
Internet anymore, I suspected Wireshark had intercepted the en1 path and
thus I re-booted ... all worked fine except I no longer can run wireshark.

Would some kind soul guide me back to success?

thanks ...

-- 
Frobozz

Mac OS/X 10.4.8
Macbook Pro 2.16 Intel Core Duo
wireshark 0.99.5
X11 1.1.3 - XFree86 4.4.0
Darwin