Ask Your Question

Wireshark fails to start

asked 2020-04-22 07:30:29 +0000

CodeWritten gravatar image

updated 2020-04-22 07:31:44 +0000

`[email protected]:~# wireshark

qt.qpa.xcb: could not connect to display qt.qpa.plugin: Could not load the Qt platform plugin "xcb" i n "" even though it was found. This application failed to start because no Qt platform plug in could be initialized. Reinstalling the application may fi x this problem.

Available platform plugins are: eglfs, linuxfb, minimal, min imalegl, offscreen, vnc, xcb.


[email protected]:~#`

How do i fix this?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-04-22 09:23:37 +0000

Jaap gravatar image

You're doing it wrong, that is don't run Wireshark as root. See this blogpost for instance, or this enlightening piece.

edit flag offensive delete link more


Oh, being on SSH doesn't matter then? Tried running as a non superuser, exact same error It's prolly bc I'm SSHing into the machine that's running Linux lmao

CodeWritten gravatar imageCodeWritten ( 2020-04-22 16:15:57 +0000 )edit

It seems the issue is Wireshark needs something it doesn't have EDIT: Tried VNCing into it Same error What am I missing?

CodeWritten gravatar imageCodeWritten ( 2020-04-26 17:37:02 +0000 )edit

It still won't work I'm SSHing into the machine VNC got the same result I tried running rootless

CodeWritten gravatar imageCodeWritten ( 2020-04-29 00:36:17 +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


Asked: 2020-04-22 07:30:29 +0000

Seen: 442 times

Last updated: Apr 29