首页 > 代码库 > [RK_2014_0905]ubuntu中,wireshark启动提示:Lua: Error during loading: [string "/usr/share/wireshark/init.lua"]:46: dofile has been disabled

[RK_2014_0905]ubuntu中,wireshark启动提示:Lua: Error during loading: [string "/usr/share/wireshark/init.lua"]:46: dofile has been disabled

一.问题描述

PC机安装ubuntu14.04,使用root用户登陆。

启动wireshark时,出现一下的Error对话框:

Lua: Error during loading:[string "/usr/share/wireshark/init.lua"]:46: dofile has been disabled due to running Wireshark as superuser.

 

二.解决方法

修改/usr/share/wireshark/init.lua

# vi /usr/share/wireshark/init.lua

将倒数第二行:

dofile(DATA_DIR.."console.lua")

改为

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

 

[RK_2014_0905]ubuntu中,wireshark启动提示:Lua: Error during loading: [string "/usr/share/wireshark/init.lua"]:46: dofile has been disabled