Kali Linux 2016.2 i386 下 Wireshark 运行报错的解决(Vmware Workstation 12.5 环境)

Kali Linux 2016.2 i386 下 Wireshark (使用系统apt-get,升级Wireshark到2.2.1版)运行报错(Vmware Workstation 12.5 环境):

Lua: Error during loading:
[string "/usr/share/wireshark/init.lua"]:46: dofile has been disabled due to running Wireshark as superuser. See
http://wiki.wireshark.org/CaptureSetup/CapturePrivileges for help in running Wireshark as an unprivileged user.


根据提示信息,在网上搜索到Ubuntu下Wireshark的类似问题,在Terminal中输入:

leafpad /usr/share/wireshark/init.lua

然后修改init.lua文件中倒数第二行的“dofile(DATA_DIR.."console.lua")”,改成:

--dofile(DATA_DIR.."console.lua")

保存后退出,运行Wireshark,报错消失。

//*根据init.lua文件中的语句猜测,“--”是屏蔽掉该语句*//


你可能感兴趣的:(Linux,Wireshark,kali,Linux,Wireshark)