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
  •  


Grandstream GS-HT802 2 Port Analog Telephone Adapter VoIP Phone & Device, Black picture

Grandstream GS-HT802 2 Port Analog Telephone Adapter VoIP Phone & Device, Black

$38.50



Cisco SPA232D-G1 DECT Mobility Enhanced ATA VOIP Gateways SPA232D picture

Cisco SPA232D-G1 DECT Mobility Enhanced ATA VOIP Gateways SPA232D

$30.00



Yealink SIP-T48S VoIP IP Phone Ultra-Elegant 7

Yealink SIP-T48S VoIP IP Phone Ultra-Elegant 7" Touchscreen PoE 16-Line HD Voice

$119.96



Cisco CP-7821 VOIP Phone | With Stand and Handset | Business IP Phone 7821 picture

Cisco CP-7821 VOIP Phone | With Stand and Handset | Business IP Phone 7821

$21.99



CISCO CP-9971 VoIP IP Phone Color Touchscreen Wi-Fi w/ USB Camera, Charcoal NEW picture

CISCO CP-9971 VoIP IP Phone Color Touchscreen Wi-Fi w/ USB Camera, Charcoal NEW

$35.00



Cisco/Linksys SPA2102 VoIP Phone Adapter Router 2FXS (Unlocked) picture

Cisco/Linksys SPA2102 VoIP Phone Adapter Router 2FXS (Unlocked)

$16.99



MagicJack - HOME VoIP Telephone Adapter with 12 Months of Service - Black picture

MagicJack - HOME VoIP Telephone Adapter with 12 Months of Service - Black

$49.99



Yealink T54W Prime VoIP Business Phone picture

Yealink T54W Prime VoIP Business Phone

$129.95



InnoMedia MTA8328-1N ATA SIP 2.0 VoIP Phone Line Telephony Adapter FXS HughesNet picture

InnoMedia MTA8328-1N ATA SIP 2.0 VoIP Phone Line Telephony Adapter FXS HughesNet

$16.99



Yealink YEA-W56H - HD DECT Handset for Cordless VoIP Phone and Device READ picture

Yealink YEA-W56H - HD DECT Handset for Cordless VoIP Phone and Device READ

$89.99