How to switch from x11 to wayland?

How to switch from x11 to wayland?

echo $XDG_SESSION_TYPE
x11

On XFCE?
You dont.
Or rather ā€¦ you dont with XFWM.
If you want to replace your window manager with a wayland capable one it may be possible ā€¦ if you also replace the Display Manager ā€¦ but IDK.

https://wiki.archlinux.org/title/Wayland

1 Like

You mean it is not necessary in xfce, why?

How do I know if Iā€™m using GDM or Lightdm?

I finally did not understand if xfce supports wayland or not?
I can switch, if I do, there will be a problem

all those questions are answered in the linked archwiki article

https://docs.xfce.org/xfce/libxfce4windowing/start

As far as I understand, it is not fully supported at the moment