ubuntu 22.04 wayland confirm terminel

$XDG_SESSION_TYPE

 

linuxconfig.org

 

  1. The default display manager for the GNOME desktop environment is GDM3. Therefore, we will edit the /etc/gdm3/custom.conf file to either disable or enable Wayland. Open a command line terminal and use nano or your favorite text editor to open this file with root permissions.
    $ sudo nano /etc/gdm3/custom.conf
    
  2. Within this file, look for the line that says #WaylandEnable=false. You can uncomment this line and either set it to true or false, depending on whether you want Wayland enabled or not.

    Enable Wayland:

    WaylandEnable=true
    

    Or disable Wayland:

    WaylandEnable=false