Results 1 to 3 of 3

Thread: cannot do sudo wireshark - Gtk-WARNING **: cannot open display:

  1. #1

    cannot do sudo wireshark - Gtk-WARNING **: cannot open display:

    When I launch wireshark(from k-menu..run, or from the command line) it loads but doesn't list interfaces unless I do sudo wireshark or I suppose if I do su then wireshark. That's fine.
    But sudo wireshark or su<ENTER>wireshark<ENTER> isn't working.

    It worked yesterday but now when I try, I get this error






    knoppix@Microknoppix:~$ su root
    root@Microknoppix:/home/knoppix# wireshark
    No protocol specified

    (wireshark:4986): Gtk-WARNING **: cannot open display: :0
    root@Microknoppix:/home/knoppix# su knoppix
    knoppix@Microknoppix:~$ sudo wireshark
    No protocol specified

    (wireshark:503: Gtk-WARNING **: cannot open display: :0
    knoppix@Microknoppix:~$

  2. #2
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    Do not run wireshark as user "root"!
    Read some documentations about wireshark. Your problem isn't a Knoppix problem.

  3. #3
    Thanks. I got it to work since some days back. For the record it was most likely this solution that I used

    http://ask.wireshark.org/questions/7...erfaces-listed
    $ sudo apt-get install wireshark
    $ sudo dpkg-reconfigure wireshark-common
    $ sudo usermod -a -G wireshark $USER
    $ sudo reboot

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Juniper MX104-AC 4 MIC Slot Chassis w/ 2x RE-S-MX104 and 2x PWR-MX104-AC picture

Juniper MX104-AC 4 MIC Slot Chassis w/ 2x RE-S-MX104 and 2x PWR-MX104-AC

$1899.00



*New* MIC-MRATE Juniper 12-Port Multi-Rate MIC module picture

*New* MIC-MRATE Juniper 12-Port Multi-Rate MIC module

$749.00



Juniper 48-Port PoE GbE Network Switch  w/ Dual Power Supplies F B EX4300-48P picture

Juniper 48-Port PoE GbE Network Switch w/ Dual Power Supplies F B EX4300-48P

$178.99



Juniper Networks EX2300-24P 24 Port Gigabit PoE 4 SFP 1/10G Network Switch picture

Juniper Networks EX2300-24P 24 Port Gigabit PoE 4 SFP 1/10G Network Switch

$119.00



Juniper EX4600-40F-AFO 24x SFP+/SFP & 4x QSFP+ Ports Switch 2XPSU TESTED picture

Juniper EX4600-40F-AFO 24x SFP+/SFP & 4x QSFP+ Ports Switch 2XPSU TESTED

$800.95



Juniper EX4300-48T 48 Port 1G 4 QSFP 40G Dual PSU AFO w/ Rails, EX-UM-4X4SFP Mod picture

Juniper EX4300-48T 48 Port 1G 4 QSFP 40G Dual PSU AFO w/ Rails, EX-UM-4X4SFP Mod

$169.00



Juniper 48-Port GbE PoE+ & 4-Port 10GB SFP+ Network Switch EX3300-48P w/ License picture

Juniper 48-Port GbE PoE+ & 4-Port 10GB SFP+ Network Switch EX3300-48P w/ License

$49.99



Juniper EX3300-48P, 48 Port PoE+ Gigabit Network Switch w/ Power cord picture

Juniper EX3300-48P, 48 Port PoE+ Gigabit Network Switch w/ Power cord

$54.99



Juniper Networks SRX550 Services Gateway Security Appliance with 6x XGPIM 2x PSU picture

Juniper Networks SRX550 Services Gateway Security Appliance with 6x XGPIM 2x PSU

$499.00



Juniper QFX5100-48S 48-Port 10GbE SFP+ 6x40GbE QSFP Network Switch w/Ears Tested picture

Juniper QFX5100-48S 48-Port 10GbE SFP+ 6x40GbE QSFP Network Switch w/Ears Tested

$599.99