Thursday, March 17, 2011

Enable root login in GDM3

Recently, Debian has Released their next stable version (version 6) codename squeeze.
So, I updated my computer from lenny to squeeze. This has updated GDM to GDM3 the next generation
gnome display manager (as they say it).
But after that I'm missing the old GDM. Its themes, the old gdmsetup tool, and event the option to allow
login of local administrator. I had tried changing /etc/gdm3/daemaon.conf by adding a line AllowRoot=true
in the [Security] section.But without any help.

Today, i was checking the files given in the man of gdm3.
There is a file /etc/pam.d/gdm3
In it there is line that contains "user != root quiet_success"
Removing the "user != root" from that did the trick and I was able to login as root user in GDM3.