Following steps can be performed in order to enable root access in GUI in ubuntu.It has been tested in ubuntu 14.04.
Open the below file.
vim /usr/share/lightdm/lightdm.conf.d/50-unity-greeter.conf
Append the line below in the above file
greeter-show-manual-login=true
After reboot root user should be able to login into the system.