In Ubuntu root password is generated randomly. Go to System -> Administration -> Users and Groups. Check the box "All Users", find root, and change the password.
Then go to System -> Administration -> Login Screen Setup. Click on the Security tab and check the box "Allow root login w/ GDM".
All set