You may found that in ubuntu 12.04 we can not login as root like earlier version of ubuntu.That’s easy,just follow below steps to enable login as root in ubuntu 12.04
1.Open a Terminal by pressing Ctl+Alt+t or search Terminal in Dash

2.Run below commands to set root a password and update /etc/lightdm/lightdm.conf to enable login as root
sudo passwd root sudo sh -c 'echo "greeter-show-manual-login=true" >> /etc/lightdm/lightdm.conf'

3.Reboot your computer,you can see there is a login button in login screen,you can click this button then login as root

4.Optional,if you want to disable login as root,just sudo and use your favorite text editor to remove the last line of /etc/lightdm/lightdm.conf then reboot your computer
Bonjour,
O.K. pour la démarche, mais au reboot…….
je n’ai pas de login qui s’affiche.
Les noms des utilisateurs sont là avec seulement la demande de leur mot de passe.
Quelque chose à voir avec le fichier users.conf ?
User accounts configuration
#
# NOTE: If you have AccountsService installed on your system, then LightDM will
# use this instead and these settings will be ignored
#
# minimum-uid = Minimum UID required to be shown in greeter
# hidden-users = Users that are not shown to the user
# hidden-shells = Shells that indicate a user cannot login
#
[UserAccounts]
minimum-uid=500
hidden-users=nobody nobody4 noaccess
hidden-shells=/bin/false /usr/sbin/nologin
D’avance merci.