Kali Linux - Could not load the Qt platform plugin, (I need your help).
-
Hello my dear, I did a step by step installation of "Fern Wifi Cracker in Kali Linux".
However, when starting "sudo fern-wifi-cracker", it gives the following error:qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
Aborted (core dumped)
Can you help me how to resolve?
Remembering that I'm using "Kali Linux" from the windows store apps application.
Thanks.
-
Hello my dear, I did a step by step installation of "Fern Wifi Cracker in Kali Linux".
However, when starting "sudo fern-wifi-cracker", it gives the following error:qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
Aborted (core dumped)
Can you help me how to resolve?
Remembering that I'm using "Kali Linux" from the windows store apps application.
Thanks.
Hi and welcome to devnet,
By default, for security purposes, root does not have access to the window server.
Do you really need to run that application as root ?
If so, you have to temporarily give the root user access to your user session. You can do that using xhost. -
Hi and welcome to devnet,
By default, for security purposes, root does not have access to the window server.
Do you really need to run that application as root ?
If so, you have to temporarily give the root user access to your user session. You can do that using xhost.@SGaist said in Kali Linux - Could not load the Qt platform plugin, (I need your help).:
Hi and welcome to devnet,
By default, for security purposes, root does not have access to the window server.
Do you really need to run that application as root ?Thank you very much for answering. I will do this.