Can't Login to using root user in Kali 2.0 Sana after update

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.

Here is Solutions:

We have many solutions to this problem, But we recommend you to use the first solution because it is tested & true solution that will 100% work for you.

Solution 1

Log into the terminal (using Ctrl+Alt+F1) as root, edit the file /etc/pam.d/gdm-password and comment out the line

auth required user != root quiet

by putting a # character at the beginning of the line. Then reboot and you will be able to connect.

This solution came from official kali linux forum ( and official bug reports (

Note: Use and implement solution 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from or, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply