Search

How to enable gui login for root in ubuntu? PDF Print E-mail
User Rating: / 1
PoorBest 
How to ? - Linux
Tuesday, 21 July 2009 09:29

 

 

It is really not recomended to login as root in gui since chances of occuring mistakes in gui are more. Any mistakes such as change to system configuration file or deleting a vital system directory is not recoverable. Also it is not advisable to use super user privileges in the console unless needed. It is always safe to login as a normal user in both console and gui.

 

I think the root login for gui is disabled in ubuntu. Also we are not aware of the root password of the ubuntu. The first user created in the ubuntu is defaultly added to sudoers list. All the users added to sudoers have power almost that of a root. So one can use the command

 

sudo passwd root

 

to change the root passwd. Or select Users and groups under System->Administration. Unlock the window using your password. Select the root and click properties. Give your required password which must be greater than 6 characters. Else select generate random password.
 

Now we know the password of root. We can enable gui login by editing the file /etc/gdm/gdm.conf.In the configuration file you may find the line


AllowRoot=false


change false to true.Save and try logging in as root



Add this page to your favorite Social Bookmarking websites
 
Last Updated on Wednesday, 22 July 2009 07:26
 

Add comment


Security code
Refresh

We have 74 guests online