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
  •  


Vintage Microsoft Office 2000 Premium 4 CDs + Product Keys + Service Pack CD picture

Vintage Microsoft Office 2000 Premium 4 CDs + Product Keys + Service Pack CD

$59.99



(5) Vintage DiskBank floppy Disk Storage Holders    Vintage picture

(5) Vintage DiskBank floppy Disk Storage Holders Vintage

$29.95



Vintage IBM 80 Character Punch Card 5081 Unpunched & Non-Vintage Code Tutorial picture

Vintage IBM 80 Character Punch Card 5081 Unpunched & Non-Vintage Code Tutorial

$3.99



Vintage Lot of 10 Kaypro Software Floppy Disks 5.25

Vintage Lot of 10 Kaypro Software Floppy Disks 5.25" Plus Holder

$85.00



NMB KEYBOARD RT2258TW NMB PS/2 BEIGE 121944-101 REV A VINTAGE NEW OLD STOCK picture

NMB KEYBOARD RT2258TW NMB PS/2 BEIGE 121944-101 REV A VINTAGE NEW OLD STOCK

$25.99



Vintage Atari STM1 Rollerball Two-Button Mouse Serial X5045136618 picture

Vintage Atari STM1 Rollerball Two-Button Mouse Serial X5045136618

$69.99



Vintage Fellows 5.25

Vintage Fellows 5.25" Multi Media Storage Floppy Disk Tray 90111

$13.99



Vintage NEW Platinum Premium Version AOL Version 5.0 Internet CD Disc 250 Hours picture

Vintage NEW Platinum Premium Version AOL Version 5.0 Internet CD Disc 250 Hours

$7.50



PU Leather Laptop Sleeve Case for MacBook Air Pro 13 14 15 16 inch Vintage Cover picture

PU Leather Laptop Sleeve Case for MacBook Air Pro 13 14 15 16 inch Vintage Cover

$28.99



VINTAGE 1992 NEWPORT SYSTEMS 700-0002-001 REV E GREAT CONDITION  picture

VINTAGE 1992 NEWPORT SYSTEMS 700-0002-001 REV E GREAT CONDITION

$99.99