Last active
September 25, 2024 17:33
-
-
Save HViktorTsoi/44b41ad6f08df7787cd41921a33517b3 to your computer and use it in GitHub Desktop.
Solve error: "This application failed to start because no Qt platform plugin could be initialized, Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb."
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Error imformation: | |
# No protocol specified | |
# qt.qpa.xcb: could not connect to display unix:0 | |
# 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, xcb. | |
# Soultion: | |
xhost +si:localuser:root |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment