1

While starting wireshark, I am getting following error:

sudo wireshark

This application failed to start because it could not find or load the Qt platform plugin "xcb".

Available platform plugins are: linuxfb, minimal, offscreen, xcb.

Reinstalling the application may fix the problem.
Aborted (core dumped)

After installing xcb, still I get the same error.

I am using Ubuntu 16.04

Solutions from following links didn't worked for me:

2

1 Answer 1

1

With the given information, I would recommend to reinstall completely wireshark as followed:

sudo apt-get remove --purge wireshark
sudo apt-get autoremove
sudo apt-get update
sudo apt-get install libcap2-bin wireshark
sudo dpkg-reconfigure wireshark-common

Select Yes so that non-superusers will be able to use wireshark (practice recommended by the Wireshark Wiki)

sudo chgrp YOUR_USER_NAME /usr/bin/dumpcap
sudo chmod 750 /usr/bin/dumpcap
sudo setcap cap_net_raw,cap_net_admin+eip /usr/bin/dumpcap

Links:

2
  • tried your steps, but still facing the same error
    – Patrick
    Apr 24, 2018 at 13:31
  • sudo apt-get install libcap2-bin wireshark sudo dpkg-reconfigure wireshark-common thanks it`s work for me, i did all steps, bold text maybe helped Jun 17, 2023 at 10:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .