Skip to content

FeTS tool return "qt.qpa.xcb: could not connect to display" error when launched #55

Answered by sarthakpati
marufmore asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @marufmore,

This issue is because a display was not detected on your machine. I see that you are running WSL. Can you specify which version of WSL you are running by running the following command:

wsl --list --verbose

WSL-2 has a built-in way of initializing X11 displays. See this answer on SO for more details. For WSL-1, there are a few steps to get this done [ref]:

  • Install VcXsrv: https://sourceforge.net/projects/vcxsrv/
  • Create a new desktop shortcut and use the following command. Add the following command in the properties → shortcut →target:
    "C:\Program Files\VcXsrv\vcxsrv.exe" :0 -ac -terminate -lesspointer -multiwindow -clipboard -wgl -dpi auto
  • Verify that it is running by execu…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by sarthakpati
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #54 on January 18, 2023 15:55.