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
  •  


Dell Precision T3500 Xeon Workstation Computer Windows 10 Home 8GB 250GB 500GB picture

Dell Precision T3500 Xeon Workstation Computer Windows 10 Home 8GB 250GB 500GB

$150.99



CM8066002031501 INTEL XEON E5-2680V4 2.40GHZ 35MB 14-CORE 120W PROCESSOR picture

CM8066002031501 INTEL XEON E5-2680V4 2.40GHZ 35MB 14-CORE 120W PROCESSOR

$23.95



Intel Xeon CPU E5-2667 V2 3.30GHz 25MB Cache 8 Core LGA2011 Processor SR19W picture

Intel Xeon CPU E5-2667 V2 3.30GHz 25MB Cache 8 Core LGA2011 Processor SR19W

$15.99



Intel Xeon E5-2699 v3 2.3 GHz 45 MB 18 Core SR1XD LGA2011-3 Clean Pull CPU picture

Intel Xeon E5-2699 v3 2.3 GHz 45 MB 18 Core SR1XD LGA2011-3 Clean Pull CPU

$63.95



Intel Xeon E3-1275v2 3.5 GHz SR0PA LGA1155 4 Cores 8 Threads CPU Processor picture

Intel Xeon E3-1275v2 3.5 GHz SR0PA LGA1155 4 Cores 8 Threads CPU Processor

$29.99



Intel Xeon CPU E5-2690 2.90GHz 20MB Cache 8 Core Socket LGA2011 Processor SR0L0 picture

Intel Xeon CPU E5-2690 2.90GHz 20MB Cache 8 Core Socket LGA2011 Processor SR0L0

$7.99



Matching Pair Intel Xeon E5-2680 v2 10-Core 2.80GHz 25MB LGA2011 Processor SR1A6 picture

Matching Pair Intel Xeon E5-2680 v2 10-Core 2.80GHz 25MB LGA2011 Processor SR1A6

$24.99



Hp Z440 MT Intel XEON Working Station Barebone Motherboard PSU Fans *No CPU/RAM picture

Hp Z440 MT Intel XEON Working Station Barebone Motherboard PSU Fans *No CPU/RAM

$65.00



Intel Xeon E5-2698 v3 SR21T picture

Intel Xeon E5-2698 v3 SR21T

$33.00



Intel Xeon W-2155 SR3LR 3.30GHz 10 Cores 20 Threads LGA 2066 Server Processor picture

Intel Xeon W-2155 SR3LR 3.30GHz 10 Cores 20 Threads LGA 2066 Server Processor

$159.99