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
  •  


Portable Car Vacuum Cleaner Rechargeable/Electric Mini Air Duster Blower for PCs picture

Portable Car Vacuum Cleaner Rechargeable/Electric Mini Air Duster Blower for PCs

$21.99



Portable Air Vacuum cleaner Electric Cleaner Cleaning Blower For Cars Keyboard picture

Portable Air Vacuum cleaner Electric Cleaner Cleaning Blower For Cars Keyboard

$18.04



Cordless Car Vacuum Cleaner Handheld Home Rechargeable Wet Dry Duster Portable picture

Cordless Car Vacuum Cleaner Handheld Home Rechargeable Wet Dry Duster Portable

$20.67



Cordless Air Duster Electric Cleaner Cleaning Vacuum For Car Computer Keyboard picture

Cordless Air Duster Electric Cleaner Cleaning Vacuum For Car Computer Keyboard

$31.99



Electric Mini Cordless Air Duster Blower High Pressure for Computer Car Cleaning picture

Electric Mini Cordless Air Duster Blower High Pressure for Computer Car Cleaning

$18.99



120W Rechargeable Mini Electric Vacuum Cleaner Duster for Car/PC/Keyboard/Pet US picture

120W Rechargeable Mini Electric Vacuum Cleaner Duster for Car/PC/Keyboard/Pet US

$20.89



Mini Cordless Electric Keyboard Car Vacuum Cleaner Cleaning Duster Rechargeable picture

Mini Cordless Electric Keyboard Car Vacuum Cleaner Cleaning Duster Rechargeable

$19.99



Electric Air Duster Blower Cordless Vacuum Cleaner for Computer Car Cleaning picture

Electric Air Duster Blower Cordless Vacuum Cleaner for Computer Car Cleaning

$42.99



120W 6000PA Cordless Handheld Vacuum Cleaner Rechargeable Car Auto Home Duster picture

120W 6000PA Cordless Handheld Vacuum Cleaner Rechargeable Car Auto Home Duster

$21.99



Car Vacuum Cleaner Cordless Mini Handheld Rechargeable Portable For Home Wet Dry picture

Car Vacuum Cleaner Cordless Mini Handheld Rechargeable Portable For Home Wet Dry

$29.99