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
  •  


DATTO-1000 Micro Server 8GB RAM picture

DATTO-1000 Micro Server 8GB RAM

$110.00



Supermicro 847BE1C-R1K28LPB 4U 36-Bay Server Chassis 12Gbs SAS3-846EL1 w/ Rail picture

Supermicro 847BE1C-R1K28LPB 4U 36-Bay Server Chassis 12Gbs SAS3-846EL1 w/ Rail

$799.00



HPE ProLiant MicroServer Gen10 AMD Opteron X3216 8GB RAM No HDDs picture

HPE ProLiant MicroServer Gen10 AMD Opteron X3216 8GB RAM No HDDs

$575.00



HPE ProLiant MicroServer Gen10 AMD Opteron X3216 8GB RAM No HDDs picture

HPE ProLiant MicroServer Gen10 AMD Opteron X3216 8GB RAM No HDDs

$400.00



HPE microserver Gen8 Update Firmware iLO4 + BIOS System Latest HP Server FAST⚡️✅ picture

HPE microserver Gen8 Update Firmware iLO4 + BIOS System Latest HP Server FAST⚡️✅

$99.99



DATTO-1000 Micro Server 8GB RAM 500GB HHD picture

DATTO-1000 Micro Server 8GB RAM 500GB HHD

$175.00



HPE ProLiant MicroServer Gen10 Plus Ultra Micro Tower Server - 1 x Intel Pentium picture

HPE ProLiant MicroServer Gen10 Plus Ultra Micro Tower Server - 1 x Intel Pentium

$861.67



HPE ProLiant MicroServer Gen10 Plus Ultra Micro Tower Server  picture

HPE ProLiant MicroServer Gen10 Plus Ultra Micro Tower Server

$800.00



Super Micro 512-5 Intel Xeon E5620 2.4 GHz Server x8dtl-3 w/6 GB/CDRW & DVDROM picture

Super Micro 512-5 Intel Xeon E5620 2.4 GHz Server x8dtl-3 w/6 GB/CDRW & DVDROM

$184.99



SUPER MICROS SERVER MOTHERBOARD X10DRS-4U REV: 1.03 AOM-S3008-L8-SB CONTROLLER picture

SUPER MICROS SERVER MOTHERBOARD X10DRS-4U REV: 1.03 AOM-S3008-L8-SB CONTROLLER

$249.00