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
  •  


Atari 1040 STE (needs repair -- see description) picture

Atari 1040 STE (needs repair -- see description)

$120.00



Atari 130xe in very nice condition, fully tested picture

Atari 130xe in very nice condition, fully tested

$275.00



Atari Power Cube 800XL, 600XL, 65XE, 130XE  USB-C Power Supply PSU picture

Atari Power Cube 800XL, 600XL, 65XE, 130XE USB-C Power Supply PSU

$11.25



Atari 400/800 16K RAM Tested Working picture

Atari 400/800 16K RAM Tested Working

$19.00



Atari 400/800/XL/XE Computer SIO2PC - PC/Mac Disk Drive Emulator Adapter/Device picture

Atari 400/800/XL/XE Computer SIO2PC - PC/Mac Disk Drive Emulator Adapter/Device

$15.25



DROIDS AND NIGHTSTRIKE (Atari 400/800/1200) Game Cart's RARE, SEE DESCRIPTION picture

DROIDS AND NIGHTSTRIKE (Atari 400/800/1200) Game Cart's RARE, SEE DESCRIPTION

$29.99



Atari SIO2SD (Lotharek v1.3) Disk Drive Emulator - Atari 400/800/XL/XE Computers picture

Atari SIO2SD (Lotharek v1.3) Disk Drive Emulator - Atari 400/800/XL/XE Computers

$59.95



Atari 800 10k & 810 Floppy Disc Drive Atari 800 With Box Power Supply Powers On picture

Atari 800 10k & 810 Floppy Disc Drive Atari 800 With Box Power Supply Powers On

$299.99



A8picoCart Atari 130 / 65 XE 800 / 1200 XL XEGS multicart UnoCart clone game picture

A8picoCart Atari 130 / 65 XE 800 / 1200 XL XEGS multicart UnoCart clone game

$32.95



Atari 1050 US Doubler upgrade kit picture

Atari 1050 US Doubler upgrade kit

$35.00