1. Press Ctrl+Alt+T on keyboard to open the terminal. When it opens, run the command below to edit the config file:
sudo gedit /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf
Type in your user password when prompt.
2. Add this line in the end of file and save it.
That’s it. Guest Login will disappeared at next boot.