First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

Wireshark fails to start

`root@localhost:~# 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.

Aborted

root@localhost:~#`

How do i fix this?

CodeWritten's avatar
1
CodeWritten
asked 2020-04-22 07:30:29 +0000, updated 2020-04-22 07:31:44 +0000
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

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

Jaap's avatar
13.7k
Jaap
answered 2020-04-22 09:23:37 +0000
edit flag offensive 0 remove flag delete link

Comments

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's avatar CodeWritten (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's avatar CodeWritten (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's avatar CodeWritten (2020-04-29 00:36:17 +0000) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer