Skip to content
Home » Kali » Wireshark Lua Error in Kali Linux on a Raspberry Pi

Wireshark Lua Error in Kali Linux on a Raspberry Pi

How to Fix the LUA Wireshark Error on Kali Linux

Loading up Wireshark for the first time, you will see the following error:

Lua: Error during loading:
“/usr/share/wireshark/init.lua.32: dofile has been disabled due to running Wireshark as superuser”…….

Fixing it is easy and quick.  First:

nano /usr/share/wireshark/init.lua.32

Look for the following line
disable_lua = false

Change the values to
disable_lua = true

Save and exit the file

Then restart wireshark from the terminal, and the error is gone



Thanks for reading

Hardware that I use:
Raspberry Pi 4 (4gb)
https://amzn.to/3q551IO

SanDisk 32GB Ultra microSDHC UHS-I Memory Card with Adapter
https://amzn.to/2Vfvo0y

CanaKit 3.5A Raspberry Pi 4 Power Supply (USB-C)
https://amzn.to/3fNTYPu

CanaKit Raspberry Pi 4 Micro HDMI Cable – 6 Feet
https://amzn.to/33u5hr9

Western Digital 500GB WD_Black SN750 NVMe
https://amzn.to/3nZ5pH4

Plugable USB C to M.2 NVMe Tool-free Enclosure
https://amzn.to/3lflV3L