In Ubuntu User defined login or GUI root login is disabled by default.
Command to enable GUI login: ( Use terminal )
sudo sh -c 'echo "greeter-show-manual-login=true" >> /etc/lightdm/lightdm.conf'
Steps to enable root user in Linux using below command
sudo passwd root
Then Enter the password twice for root user and then restart the system.
Now you can see the manual login option on the login screen, select Login and type user name as root and provide the root password which you have created.
But we can enable the user defined login by modifying the lightdm configuration file available in Ubuntu and once it is enabled, then its very easy to login as root in GUI Mode.
Command to enable GUI login: ( Use terminal )
sudo sh -c 'echo "greeter-show-manual-login=true" >> /etc/lightdm/lightdm.conf'
Steps to enable root user in Linux using below command
sudo passwd root
Then Enter the password twice for root user and then restart the system.
Now you can see the manual login option on the login screen, select Login and type user name as root and provide the root password which you have created.
Published By
S.G.Godwin Dinesh.MCA
Sr.System Administrator
No comments:
Post a Comment