Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. #200

Closed
hxse opened this issue Apr 12, 2021 · 5 comments

Comments

@hxse
Copy link

hxse commented Apr 12, 2021

Describe the issue

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
[hxse@DESKTOP-52TNC8V hxse]$ krita
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

To Reproduce
Steps to reproduce the behavior:

  1. pacman -S krita
  2. krita

Expected behavior
nnormal run krita.

Enviroment:

  • Windows build number: win10 19042.867
  • Security Software:
  • WSL version 1/2: WSL 2
  • ArchWSL version :
  • ArchWSL Installer type :click exe
  • Launcher version :20112500
@justforlxz
Copy link

You need to install xserver on windows, refer to https://techcommunity.microsoft.com/t5/windows-dev-appconsult/running-wsl-gui-apps-on-windows-10/ba-p/1493242

@justforlxz
Copy link

the new info: https://www.zdnet.com/article/new-windows-10-test-build-adds-first-preview-of-linux-gui-apps-on-wsl/

@justforlxz
Copy link

I test the krita.

image

@escape0707
Copy link

escape0707 commented Apr 23, 2021

OMG, X server on Windows officially, another spicy🌶 move by Microsoft.

Although I still don't get why they won't support mounting a ext4 file system first.

@vbalaji21
Copy link

I have the same problem on ubuntu, does anyone know how to solve it ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants