I wanted to disable the guest login in my Ubuntu 14.04, so I opened the lightdm configuration file using:
sudo gedit etc/lightdm/lightdm.conf
But the file was Empty (There were NO lines like [SeatDeafaults] etc.. ) So I added following line in that file:
allow-guest=false
and saved the config file and restarted my laptop.
On restart it ran in low graphics mode.
So I was unable to try following to restore it to previous state:
sudo gedit etc/lightdm/lightdm.conf
Also, after pressing trl+Alt+F1 at window showing message of "Low Graphics Mode", I logged with my credentials and tried
sudo nano etc/lightdm/lightdm.conf
But when I tried to save the changes, it was showing the file doesn't exist. Also failsafeX is not working for me.