Ask Your Question
0

Running wireshark as root - plugins not working

asked 2025-07-08 18:52:55 +0000

mjnunan gravatar image

updated 2025-07-09 15:10:13 +0000

Guy Harris gravatar image

I am trying to install the mavlink disector on my wel ubuntu machine

I added it to the

 xxxxx@MAXWELL:~/dev/udp_test$ ls -alrt ~/.local/lib/wireshark/plugins
total 2980
drwxr-xr-x 3 xxx xxx 4096 Jul  7 23:20 ..
-rw-r--r-- 1   xxx xxx 3036602 Jul  7 23:21 wireshark.lua
drwxr-xr-x 2 xxx  xxx 4096 Jul  7 23:21 .

but it is not working. I checked the folder section of help

it indicates that the folder is /root/.local/lib/wireshark/plugins

xxx@MAXWELL:~/dev/udp_test$ sudo ls -alrt /root/.local/lib/wireshark/plugins
[sudo] password for xxx:
total 2976
drwxr-xr-x 3 root root    4096 Jul  7 23:51 ..
-rwxr-xr-x 1 root root 3036602 Jul  7 23:53 wireshark.lua
drwxr-xr-x 2 root root    4096 Jul  7 23:53 .
xxx@MAXWELL:~/dev/udp_test$

it still isnt working.

I defined XDG_CONFIG_HOME=/home/xxx/.local/bin and re-installed wireshark - still no luck.

(I am am only an occasional user of linux)

PS - I am collecting data, it just isn;t being fully decoded. I have had it working in windows.

Frame 56: 75 bytes on wire (600 bits), 75 bytes captured (600 bits) on interface lo, id 0

edit retag flag offensive close merge delete

Comments

Please update question with output of wireshark -v or Help->About Wireshark:Wireshark.

Chuckc gravatar imageChuckc ( 2025-07-08 19:26:03 +0000 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2025-07-08 20:03:02 +0000

cmaynard gravatar image

From the Discord chat, the problem seems to be that @mjnunan was running Wireshark as root. Once it was run as a normal user, the plugin was loaded as expected.

edit flag offensive delete link more

Comments

Adding John's comment: "Personal plugins generally are not loaded when running as root"
19661: Rethink privilege restriction for personal plugins

Chuckc gravatar imageChuckc ( 2025-07-10 13:16:26 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2025-07-08 18:52:55 +0000

Seen: 61 times

Last updated: Jul 09