qt.qpa.xcb: could not connect to display :0
-
@SSJCarti said in qt.qpa.xcb: could not connect to display :0:
is my Xlaunch a xserver?
Once again, you failed to provided a link to such component/application... Make life easier for the ones that may help you.
If you're referring to this Xlaunch, I'm not familiar with it but from its documentation it is not an X server:
XLaunch is a wizard to make starting X server sessions easy
In addition, have you checked the videos I suggested?
-
@Pablo-J-Rogina I do not know what an xserver is, I am very new to this whole type of stuff
-
@SSJCarti said in qt.qpa.xcb: could not connect to display :0:
what an xserver is
I guess you'll find lots of references, documentation, tutorials about the X windowing system.
One of the videos I linked before does a good job at describing the purpose and some details of an X server. -
In my case I was using PyQt5 in a docker container. Even though
i forwarded my DISPLAY variable and X11-unix path, it didn't seem to find the display.The solution for me was running
xhost +local:*
in the terminal of the host (outside of the container), to allow the server connection to be used by the container. -
@BertChristiaens I created an account just to say that this is exactly what I was looking for! After hours of sifting through online forums trying to find a solution to this problem, this is the one that worked like a charm! Thank you good sir!
-
This post is deleted!