Ubuntu mate 21.4, package Wireshark 3.2.7-1~ubuntu20.04.0+wiresharkdevstable1won't start
I installed the latest revision from PPA. Getting the same error as with the repository.
This thing won't let me upload the error screen but in essence it says that
/usr/lib/x86_64-linux-gnu/wireshark/plugins/3.0/ndpi.lua line 54. Bad argument to NEW field.
And on the command line this message displays "XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'"
I've spent quite a bit of time googling to no avail. No idea what to do next. Wireshark worked fine on Ubuntu 16.04 LTS. Something got broken between then and now.
OK, I renamed ndpi.lua to something else. Now the program will start but when I try to monitor a USB channel, it tells me I lack permission. The error message suggested doing the things suggested here. Now what?
More info. When I acknowledge the USB permission, the following appears on the command line.
17:00:49.200 Main Warn QXcbConnection: XCB error: 3 (BadWindow), sequence: 938, resource id: 19495943, major code: 40 (TranslateCoords), minor code: 0
Any other suggestions? I am not trying to run as root.
UPDATE
I tried running wireshark as root and it opened the USB ports as it should. So it looks like a USB port open routine. Any suggestions?
Also, it only showed 5 ports. Is that a hard-coded limit?
Thanks,
John