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
  •  


NEW Sealed Original Cisco SFP-10G-SR 10G SR SFP+ Module 850nmMM *US Shipping* picture

NEW Sealed Original Cisco SFP-10G-SR 10G SR SFP+ Module 850nmMM *US Shipping*

$18.00



NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping* picture

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*

$24.00



SFP-10G-SR V03 Original CISCO 10-2415-03 850nm 10GBASE-SR SFP+ Multi mode Module picture

SFP-10G-SR V03 Original CISCO 10-2415-03 850nm 10GBASE-SR SFP+ Multi mode Module

$6.80



Cisco SFP-10G-SR V03 10-2415-03 10GBASE Multimode Fiber Optic Transceiver Module picture

Cisco SFP-10G-SR V03 10-2415-03 10GBASE Multimode Fiber Optic Transceiver Module

$6.63



NEW Sealed Cisco SFP-10G-SR-S 10G SR SFP+ Module 850nmMM *US Shipping* picture

NEW Sealed Cisco SFP-10G-SR-S 10G SR SFP+ Module 850nmMM *US Shipping*

$20.00



Genuine Cisco GLC-SX-MMD 1000Base-SX SFP Transceiver Module picture

Genuine Cisco GLC-SX-MMD 1000Base-SX SFP Transceiver Module

$7.25



Original CISCO SFP-10G-SR 10-2415-03 850nm 10GBASE-SR SFP+ Multi mode Module picture

Original CISCO SFP-10G-SR 10-2415-03 850nm 10GBASE-SR SFP+ Multi mode Module

$14.95



NEW Sealed Cisco GLC-SX-MMD 1000BASE-SX SFP Module Transceiver US Shipping picture

NEW Sealed Cisco GLC-SX-MMD 1000BASE-SX SFP Module Transceiver US Shipping

$14.00



2 Packs For Cisco SFP-10G-T Transceiver 10G SFP to RJ45 10GBase-T Copper Module picture

2 Packs For Cisco SFP-10G-T Transceiver 10G SFP to RJ45 10GBase-T Copper Module

$99.00



Finisar FTLX8571D3BCL SFP+SR/SW 10Gb/s 850nm Multimode SFP+ Transceiver Grade A picture

Finisar FTLX8571D3BCL SFP+SR/SW 10Gb/s 850nm Multimode SFP+ Transceiver Grade A

$7.70