Results 1 to 3 of 3

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

Hybrid View

  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
  •  


Pristine 1984 Apple Macintosh 128k, Numeric Keyboard, Original Packaging picture

Pristine 1984 Apple Macintosh 128k, Numeric Keyboard, Original Packaging

$7500.00



1984 APPLE MACINTOSH 128K MATCHING #'s BOX Set FIRST Model MAC M0001 NICE RARE picture

1984 APPLE MACINTOSH 128K MATCHING #'s BOX Set FIRST Model MAC M0001 NICE RARE

$6499.99



Vtg 1984 APPLE MACINTOSH 128K FIRST MAC Model M0001  ALL WORKING Original bag picture

Vtg 1984 APPLE MACINTOSH 128K FIRST MAC Model M0001 ALL WORKING Original bag

$2500.00



ORIGINAL APPLE MACINTOSH COMPUTER TOTE CARRYING BAG CASE FOR 128K/512K Read desc picture

ORIGINAL APPLE MACINTOSH COMPUTER TOTE CARRYING BAG CASE FOR 128K/512K Read desc

$85.00



APPLE 2 II plus //e IIe 2e and Hardware Compatibles Saturn Rocket 128K RAM Card picture

APPLE 2 II plus //e IIe 2e and Hardware Compatibles Saturn Rocket 128K RAM Card

$24.99



Rare Macintosh 128k m0001 with original carrying case - Vintage Apple Computer picture

Rare Macintosh 128k m0001 with original carrying case - Vintage Apple Computer

$1399.00



1984 Macintosh 128k M0001 With With Huge Bundle. Collectors Dream picture

1984 Macintosh 128k M0001 With With Huge Bundle. Collectors Dream

$2000.00



Apple Macintosh 128K M0001 Computer (1984) picture

Apple Macintosh 128K M0001 Computer (1984)

$775.00



1984 Macintosh 128K Apple Modem 1200 Complete Set Manual, Cables Mac 512K RARE picture

1984 Macintosh 128K Apple Modem 1200 Complete Set Manual, Cables Mac 512K RARE

$249.95



1984 Macintosh 128K Original APPLE TEN 400K SS Disk Picasso BOX Set Labels RARE picture

1984 Macintosh 128K Original APPLE TEN 400K SS Disk Picasso BOX Set Labels RARE

$139.99