错误提示如下:
Lua: Error during loading:
[string "/usr/share/wireshark/init.lua"]:44: dofile has been disabled due to running Wireshark as superuser. See https://wiki.wireshark.org/CaptureSetup/CapturePrivileges for help in running Wireshark as an unprivileged user.
解决方法:
终端键入如下命令 sudo gedit /usr/share/wireshark/init.lua
打开配置文件,修改倒数第二行。改为由原来的 dofile(DATA_DIR.."console.lua") 改为 --dofile(DATA_DIR.."console.lua")
保存并关闭即可