Authentication failure after installing gnome desktop

after installing core Raspbian on Raspberry Pi I installed gnome (apt-get install gnome-desktop-environment) but now I am getting authentication failure.
I am being told that not being able to log in as root to graphical interface is a standard security feature of Linux.
So to sort this out, I need to create another user in shell:
Ctrl+Alt+F1 to get to shell
log in as root
(root, raspbian)
then set password

Then reboot and log in to Gnome
Still having an issue with Gnome loading loading properly but this will be Raspberry Pi issue I guess.


Most of the Linux distros do not allow root user to login to GUI. This is the reason why you first need to create an account and login as a regular user to access GUI.

BTW: reboot is not required. You could simply switch back to GUI login with ALT+F7. Depending on the linux distribution this shortcut my differ.