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 <[EMAIL PROTECTED]> 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
[email protected]
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
[email protected]
http://www.wireshark.org/mailman/listinfo/wireshark-users
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
E-Mail: [EMAIL PROTECTED]
www.finkconsulting.com www.global-networks.ch www.bebbicell.ch
---------------------------------------------------------------
ICQ: 8239353 MSN: [EMAIL PROTECTED] AIM: smsrelay Skype: andreasfink
Yahoo: finkconsulting SMS: +41792457333
_______________________________________________
Wireshark-users mailing list
[email protected]
http://www.wireshark.org/mailman/listinfo/wireshark-users