Wireshark-users: Re: [Wireshark-users] Wireshark Error

From: Andreas Fink <afink@xxxxxxxxxxxxx>
Date: Thu, 1 Feb 2007 07:05:42 +0100
you need to define the DISPLAY variable to point to your X11 display.

the easiest is to start wireshark in a xterm window.
if you "su" to root in this xterm, the DISPLAY has to be set again maybe.

export DISPLAY=127.0.0.1:0.0

(in bash, sh and the like)
should do.
If you get a permission error, then try typing "xhost +" in your X11 application first.

On 01.02.2007, at 05:03, Timothy Barnett wrote:

You are running wireshark with root privileges, aren't you? I get that message if I attempt to run wireshark as a user.

Regards,

On 1/30/07, Kray Mitchell <kraym@xxxxxxxxxxx> wrote:
I am fully new to all this, but I instlaled Wireshark today (full
install) and I already have X11 installed. I am trying to run ANYTHING
in wireshark and I get this error

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

Though the number changes depending on what I try and run. I can get
wireshark -h to work, but that is it, and it is not very helpful to me.
I am just trying to find something so I can find out what is happening
on the network, so I can start learning to find out where bottlenecks
are happening so I can figure out a solution.

Thanks

kray

_______________________________________________
Wireshark-users mailing list
Wireshark-users@xxxxxxxxxxxxx
http://www.wireshark.org/mailman/listinfo/wireshark-users



--
Any information contained in this email and any attachments is strictly private and confidental. The intended recipient of this email may use, reproduce, disclose or distribute the information contained in this email and any attachments with the sender's permission. If you are not the intended recipient, you are strictly prohibited from using, reproducing, adapting, disclosing or distributing the information contained in this email and any attachments, or taking any action in reliance upon it. Please notify the sender if you have received this email in error, and delete it from your mailbox. It is the responsibility of the receiver to scan this email and any attachments for viruses and other such threats, and if such threat is discovered, notify the sender.
_______________________________________________
Wireshark-users mailing list





Andreas Fink

Fink Consulting GmbH
Global Networks Schweiz AG
BebbiCell AG

---------------------------------------------------------------
Tel: +41-61-6666330 Fax: +41-61-6666331  Mobile: +41-79-2457333
Address: Clarastrasse 3, 4058 Basel, Switzerland
www.finkconsulting.com www.global-networks.ch www.bebbicell.ch
---------------------------------------------------------------
ICQ: 8239353 MSN: msn1@xxxxxx AIM: smsrelay Skype: andreasfink
Yahoo: finkconsulting SMS: +41792457333