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
  •  


CISCO 5108 Blade Server Chassis N20-C6508 picture

CISCO 5108 Blade Server Chassis N20-C6508

$200.00



DELL POWEREDGE M620 SERVER BLADE INTEL XEON E5-2670 @ 2.60GHZ 128GB RAM 2X 146GB picture

DELL POWEREDGE M620 SERVER BLADE INTEL XEON E5-2670 @ 2.60GHZ 128GB RAM 2X 146GB

$399.00



Dell PowerEdge M1000E Server Xeon Fully Loaded with M820 E5-4620 & 2,528GB RAM picture

Dell PowerEdge M1000E Server Xeon Fully Loaded with M820 E5-4620 & 2,528GB RAM

$500.00



HP ProLiant BL460c G9 (Gen9) 2x E5-2670V3 12 Core 3.1GHz No Ram or No Drives picture

HP ProLiant BL460c G9 (Gen9) 2x E5-2670V3 12 Core 3.1GHz No Ram or No Drives

$59.98



Dell PowerEdge M640 Blade Server 2x Gold 6138 CPUS  40 Cores 3.70GHz Turbo picture

Dell PowerEdge M640 Blade Server 2x Gold 6138 CPUS 40 Cores 3.70GHz Turbo

$649.99



Dell PowerEdge M620 0F9HJC Blade Server 2*E5-2670 2.60GHz 192GB RAM 2*300GB SAS picture

Dell PowerEdge M620 0F9HJC Blade Server 2*E5-2670 2.60GHz 192GB RAM 2*300GB SAS

$103.99



DELL PowerEdge M520 Blade Server Ram And CPU Included picture

DELL PowerEdge M520 Blade Server Ram And CPU Included

$80.00



DELL PEM640 POWEREDGE M640 BLADE SERVER picture

DELL PEM640 POWEREDGE M640 BLADE SERVER

$539.95



HP ProLiant BL460c G9(Gen9) 2x 10 CORE E5-2660v3 2.6GHz 128GB RAM No SSD picture

HP ProLiant BL460c G9(Gen9) 2x 10 CORE E5-2660v3 2.6GHz 128GB RAM No SSD

$222.00



Supermicro H8DGT-HIBQF Server Blade 2x Opteron 6168 (2x8) 16GB Ram #73 picture

Supermicro H8DGT-HIBQF Server Blade 2x Opteron 6168 (2x8) 16GB Ram #73

$32.00