I recently updated my Kali to Sana and I am unable to login as root using my old credentials.
I am able to login to the Console with the same username and password but I am not able to login using the GUI interface (gdm3).
I tried changing the password from console and still no change.
I also created a new account and tried logging in using the new account but still no use. I also tried to Autologin by editing /etc/gdm3/daemon.conf
but still no effect.
Best Answer
Log into the terminal (using Ctrl+Alt+F1) as root, edit the file
/etc/pam.d/gdm-password
and comment out the lineby putting a
#
character at the beginning of the line. Thenreboot
and you will be able to connect.This solution came from official kali linux forum (https://forums.kali.org/showthread.php?26745-Can-t-login-after-Upgrade-to-kali-sana) and official bug reports (https://bugs.kali.org/view.php?id=2573)