Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

On Ubuntu 11.10, I enabled the graphical login as root by (at least I think so) running
sudo passwd

After upgrading to 12.04 LTS, the graphical option has gone, while su in the Terminal is still working.
I ran sudo passwd once again, but I got no result...

Any ideas?

PS: I DO know the risks involved in enabling root, so please don't ask that.

share|improve this question
1  
You claim to know, and yet, here you are, asking how to do it. Check out man passwd for answers. –  mikewhatever May 24 '12 at 17:22
    
I believe they were referring to knowing the inherent risks associated with enabling root. –  reverendj1 May 24 '12 at 17:23
    
@reverendj1 Exactly. –  jazzpi May 24 '12 at 17:25
    
@jazzpi Instead of writing [solved] in the post's title please use the green check mark to select the answer that you consider helped you solve your issue. –  Bruno Pereira May 24 '12 at 17:49
add comment

1 Answer

Here you go:

sudo passwd root
sudo sh -c 'echo "greeter-show-manual-login=true" >> /etc/lightdm/lightdm.conf'

Root won't show up as a user, but "Login" will, which is how you manually log in with users not shown in the greeter.

Rebooted and then you should be able to login as root.

share|improve this answer
    
Thanks. That was it :) –  jazzpi May 24 '12 at 17:30
    
jazzpi, Please mark the answer. –  saji89 May 24 '12 at 17:31
    
This is not working in ubuntu patched for edubuntu. I still can't see root user while login. It just asks me password for the current user. –  user112401 Dec 3 '12 at 13:11
    
@bob I'm not sure of what the differences are for Edubuntu. Is there no "Login" option? You would have to click that and enter root for the username. Root will not be listed on the login screen. If that doesn't work, please create a new question. –  reverendj1 Dec 3 '12 at 20:04
    
Note: I needed to restart the computer to see the new Login option. Just logging out did not show the changed login screen. –  Eponymous May 14 '13 at 21:10
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.