PDA

View Full Version : [Wireshark] non-root user got Qt authentication rejected.



justacleverguy
2016-04-08, 01:59
The common problems when running Wireshark as root.


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.

I tried xhost +
Change value in /usr/share/wireshark/init.lua
But nothing helps.

So I created a new user, not even in sudo group.
And once again, I got error.


Qt: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
libGL error: failed to open drm device: Permission denied
libGL error: failed to load driver: i965

Anyway, thanks for reading.

LyJoker
2016-04-25, 04:20
open Terminal and
execute these commands


sed -i "39s/.*/if running_user then/" /usr/share/wireshark/init.lua
groupadd wireshark
adduser root wireshark

Now Try Open and Tell Me if it worked .

Robert45
2016-09-24, 02:36
I had the same issue with Wireshark, running "live" Kali 2016-2.0. How would I permanently fix this on live usb version? Would I type this every time prior to wireshark startup?

Thanks, great info!


open Terminal and
execute these commands


sed -i "39s/.*/if running_user then/" /usr/share/wireshark/init.lua
groupadd wireshark
adduser root wireshark

Now Try Open and Tell Me if it worked .