Hi all

I have installed kali-linux-2020-4-installer-amd64-iso

I have used gnome as the desktop.

I have no need for this system to be secure as I just boot when I need it and do not use it for anything confidential.

I wanted to make the install like my old Kali system where I just booted and it would auto login as "root". I understand Kali has recently forced users to open a standard user account as people were using Kali as their main system.


Once everything was installed under the user account "x" I did the following.
Code:
sudo su
passwd root
New password:
Retype new password:
passwd: password updated successfully
root@kali:~# logout
exit


Commented out the following line
Code:
sudo nano /etc/pam.d/gdm-password

# auth required pam_succeed_if.so user != root quiet_success

CTRL x

CTRL y

[enter]
I logged in as root and did the following:

Code:
gedit /etc/gdm3/daemon.conf

AutomaticLoginEnable = true
AutomaticLogin = root
I then deleted the temporary user "x"
Code:
userdel x
When I restart Kali freezes just before the point where I would expect to see the log in screen.

After much testing I did the above again except I did not delete the temporary user account and set AutomaticLogin to AutomaticLogin = x which after rebooting actually logged me into the temporary account.

So it seems the problem is with the actual root account.

After over 5 hours of struggling on my own I wonder if there is a Linux guru who could please help me solve this problem?

Thanks.