Switching from wayland to x11 on xfce

After enough of me hitting my head against the wall I have decided to switch to x11 from wayland. This apparently fixes my issue of discord and obs not not recognizing other applications for screen share as I have seen in other forum threads. Can somebody please tell me how can I switch to x11 from wayland? Do I need to reinstall endeavour os or is the change just some clicks away in soem config file? I am running xfce on a Ideapad i3-12th gen with integrated intel graphics. Any help would be appreciated. Thank you.

AFAIK Xfce doesn’t have Wayland support yet, so the default for Xfce is still X11. Open a terminal and run the following and share the output. env | grep -Ei "wayland|x11"

As of 2024-06-19T22:00:00Z Xfce doesn’t support a Wayland session.

However, they are planning to do so at some point in the future.

Here is the roadmap: https://wiki.xfce.org/releng/wayland_roadmap

Check what is your current desktop:

echo $XDG_CURRENT_DESKTOP

it says xfce

but I remember that on my last post about screen sharing everyone told me that the reason is that I am using wayland

Please show the outcome of

echo $XDG_SESSION_TYPE

Oh I get it now. But do you have any fix for screen sharing then? I am confused now
.

Can you help me with screen sharing problem then?