-
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:~$
-
Do not run wireshark as user "root"!
Read some documentations about wireshark. Your problem isn't a Knoppix problem.
-
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
-
Forum Rules

WAVLINK RAID 2 Bay Hard Drive Docking Station SATA 2.5/3.5'' SSD HDD Enclosure
$107.99

Broadcom 9600-24i Tri-Mode RAID Controller 4.0 NVMe SAS SATA NEW 05-50111-01003
$639.69

Intel VROC Premium RAID Controller Card PCIe Add-On Module VROCPREMMOD
$265.00

Broadcom 9600-24i RAID Controller PCIe Gen 4.1 Tri-Mode NEW 05-50111-01004
$649.99

2-Bay/4-Bay Hard Drive Enclosure for 3.5"/2.5'' SATA HDD/SSD 10Gbps USB-C 3.2
$75.99

Broadcom LSI 9305-16i 12Gbps SAS-3 PCIe x8 HBA 16-Ports Raid Controller
$64.99

Dell 3KDWX PERC H755 12G 8GB Cache Front RAID Controller
$999.99

Lot Mini SAS SFF-8643 To 4 SATA 7pin Hard Disk 6Gbps Data Server Raid Cable 1M
$580.00

QNAP TR-004 4 Bay USB-C Hardware RAID Enclosure DAS 3.5 2.5 SATA Tested Working
$149.99

Dell EMC 15-Bay 3.5" SAS Disk Array Enclosure 12Gbps Dual LCC - 2x Power Supply
$249.00