Xubuntu system under a lot of things and native Ubuntu there are many details of the difference, close the guest account according to the original method will cause the system to fail to boot, Solution use a USB stick to boot into the disk delete lightdm.conf file restart on it, Xubuntu note the file creation path is as follows/etc/lightdm/lightdm.conf.d/50- My-custom-config.conf, with gedit editing, the system is not installed by default gedit, you can use Apt-get install GEDITM, if there is no network, then the terminal use command nano/etc/lightdm/ Lightdm.conf.d/50-my-custom-config.conf
Add the following content
[Seatdefaults]
Allow-guest=false
If you save an error, the folder may not have permissions, use Chmod-r 777 to modify folder permissions, manually create the appropriate folders and files, and then add the above content, save! Reboot on it!!
Xubuntu Turn off guest-session account option in desktop environment!