This issue can be solved by following simple commands. All you need is editor and sudo permission(usually your same password as user).
Open the file
/etc/gdm3/custom.conf is this does not exist in your machine open
Then uncomment the line
WaylandEnable=false that is remove the # at the start of the line, save it and then do a reboot.