If your facing problem like this, Here i am login as root but i can’t login; follow this simple steps to login as root:-
→ When you have root password
1.1 Login as normal user you created on installation process.
1.2 Open terminal.
1.3 Here try to login as root by using command
su — root
1.4 If you switch to root terminal then skip to step number 2.5
→ When you don’t have root password then you have to reset root password by following steps
2.1 First we check our normal user have enough power or not by using command
sudo -l
2.2 If the output looks like this (all:all)all then you have power to change root password
2.3 Type command and reset new password for root
sudo passwd root
2.4 Now go to root terminal using below command
su — root
2.5 Then you have to run the below command
vim /etc/pam.d/gdm-password
2.6 And comment the 3rd number line which shows in image by using # and then save it
2.7 Now restart and try to login with root user
Thanks for reading hope you guys like Post your questions in the comment section below!