Can't plot any figure-UBUNTU 22.04 LTS
Unsolved
General and Desktop
-
Re: Can't plot any figure-UBUNTU 22.04 LTS
Hi everyone, I am struggling with this issue belowWarning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway. qt.qpa.xcb: could not connect to display 192.168.43.1: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, minimal, minimalegl, offscreen, vnc, webgl, xcb. Aborted (core dumped)~~~~ I have tried accessing /etc/gdm3/custom.conf file to edit wayland but and also in the environment, but its not working, anyone to help me according to the error above?
-
@AKAB
This message comes up many times if you search this forum or Google.The answer every time is to
export QT_DEBUG_PLUGINS=1
in a shell and then run your executable. Look at the end of the diagnostic output from the reason for xcb failure.