Login as Root in graphical mode on Mandriva

Almost every Linux distribution does not allow you to login as root, that is as superuser, in graphic mode. On Mandriva is easy to ensure that the system allows us to log-in in this way, we have just edit the file kdmrc.

If the mandriva distro uses kde3 the kdmrc file is located in the following location:

/etc/kde3/kdm/kdmrc

if the mandriva distro uses KDE4 then kdmrc is located in the following location:

/var/lib/mandriva/kde4-profiles/free/share/config/kdm/kdmrc

once you find this file, just change the line:

AllowRootLogin=false

in

AllowRootLogin=true

and voila, now when we will be back to the login window just type root in the Username box and enter the chosen password, in this way we can login as superuser.