How to switch from X11 to Wayland on live Ubuntu 24.04.1?

This should do it for a live session using Ubuntu 24.04.1

Boot into a live 24.04.1 session
Open a terminal
Check your session type with echo "$XDG_SESSION_TYPE"
Leave the terminal open and enter:-
sudo nano /etc/gdm3/custom.conf
Find this line WaylandEnable=false
Change false to true
Save file and exit
sudo systemctl restart gdm3
Live session will restart in a wayland session

I wish that I could claim original thought with this but, I have to admit that the internet provided the answer

https://linuxconfig.org/how-to-enable-disable-wayland-on-ubuntu-22-04-desktop

3 Likes