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
  •  


pfSense Firewall Router (6) 1Gb Intel Ethernet Ports AES-NI CPU 4GB RAM 80GB SSD picture

pfSense Firewall Router (6) 1Gb Intel Ethernet Ports AES-NI CPU 4GB RAM 80GB SSD

$79.95



OPNsense Network Firewall Router Security Appliance picture

OPNsense Network Firewall Router Security Appliance

$79.95



SUPERMICRO  sys-5015a  ehf ATOM  D510  4GB MEMORY  128GB SSD  FIREWALL APPLIANCE picture

SUPERMICRO sys-5015a ehf ATOM D510 4GB MEMORY 128GB SSD FIREWALL APPLIANCE

$139.00



Palo Alto Networks PA200 Enterprise Firewall Security Appliance PA-200 picture

Palo Alto Networks PA200 Enterprise Firewall Security Appliance PA-200

$34.00



Palo Alto PA-220 Next-Gen Firewall picture

Palo Alto PA-220 Next-Gen Firewall

$150.00



Fortinet Fortigate FG-60D Firewall Network Security Appliance v5.4.7 picture

Fortinet Fortigate FG-60D Firewall Network Security Appliance v5.4.7

$29.00



NEW NETGATE SG-1000 pfSense FIREWALL SECURITY GATEWAY with AC & MICRO USB picture

NEW NETGATE SG-1000 pfSense FIREWALL SECURITY GATEWAY with AC & MICRO USB

$99.99



pfsense firewall I225-V 2.5 G Quad Core AWS-NI Gateway  picture

pfsense firewall I225-V 2.5 G Quad Core AWS-NI Gateway

$110.00



CISCO ASA5506-X Firewall Unlimited Host FirePOWER ASA5506-K9 Not Affected Serial picture

CISCO ASA5506-X Firewall Unlimited Host FirePOWER ASA5506-K9 Not Affected Serial

$149.99



SonicWall TZ500 Firewall - Lightly Used picture

SonicWall TZ500 Firewall - Lightly Used

$249.00