I'm using Ubuntu 22.04 and had problems sharing my screen. I had to disable Wayland at the Ubuntu login screen and that fixed the problem.
However, because of this I now cannot generate matplotlib graphs in Python. The error is:
Failed to create wl_display (No such file or directory)qt.qpa.plugin: Could not load the Qt platform plugin "wayland" 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.
I really dont want to mess around customizing my OS to be different.
Is there a simple way to be able to share my screen AND use matplotlib?