To boot in text only(non-GUI) mode:
After booting:
sudo nano /etc/gdm/custom.conf
then uncomment WaylandEnable=false
WaylandEnable=false