linux – How to know whether Wayland or X11 is being used – Unix & Linux Stack Exchange