1. "Sorry, that didn't work please try again" appears when logging in as root in the Ubuntu graphical interface.
Execute the following command as ROOT:
sudo vim /etc/pam.d/gdm-autologin
vim /etc/pam.d/gdm-password
sudo vim /etc/pam.d/gdm-autologin
vim /etc/pam.d/gdm-password