Run Wireshark as root on Kali Linux

Wireshark is used for network analysis and troubleshooting by allowing users to capture network traffic and view packets. The view of the information can be customized using a display filter. It was originally developed by Gerald Combs in 1998 as Ethereal, before the name change.

Normal, you run Wireshark on Kali Linux, you will get an error like below

How to fix

  1.  Open terminal, run command leafpad /usr/share/wireshark/init.lua
  2. Change as below
  3. Save & close
  4. Enjoy