I'm pretty familiar with Ubuntu and with Unity, as that is my favorite Ubuntu GUI.. With any UNIX based OS's, as well as anyother OS, logging into ur GUI with root is an extremely bad idea, and therefore should never be done. With that said, Ubuntu doesn't even come with a passwd for root, not a set one anyways. They use a random passwd generator type deal, or something of that nature, for any daemons needing root access.. You first account is an admin account by default, what this does is gives you power to use sudo command, example: sudo apt-get update -which checks repos and reports if an update is present.
i believe you're going to want to use the command, sudo su -which will allow you to become root using your own passwd, one drawback is that after executing to command u needed root for, u will have to type exit to revert back to a regular user. Most admins discourage the use of sudo su in favor of typing sudo even if it's a string of commands like; sudo apt-get update && sudo apt-get upgrade ... i'd much rather use sudo su , then type apt-get update && apt-get upgrade .. it's less of a hastle i feel..
i just confirmed that; unity --reset does work in root. probably better if first using; sudo su .. in confirming this i made the mistake of doing this from a different linux os through a chroot to Ubuntu12.10. since i am using compiz in this distro, even though it was through a chroot, it actually tried to start unity on my os and now one of my screens is stuck on stupid... oh well, no biggy, you live, you learn.. i may just have to reboot or readjust my compiz setting and then reboot... on a brighter note, Hopefully it fixed the unity problems i was having in the 12.10 i had chrooted into, when i say problems i mean major problems.. I had not even thought of running unity --reset, so thanks for that.. I don't know what Ubuntu you are using but i think there were some switches in the way you reset compiz and unity, in that 12.04's reset commands are different than 12.10's.. perhaps if you have 12.04 u should check other forums and make sure you are getting commands from that specific release.. also, as in most linux distros, if you type info you get the man pages, if you type info unity - you get a page giving you a description of the command as well as listing all the options..
some distros won't allow sudo privledges by default and u have to change this in the sudoers file, which u can't safely do by normal means, so they have a command which is, sudo visudo. obviously u must be root, which is why ubuntu gives you sudo rights.. But on my iphone, i don't have sudo rights and i cant sudo visudo through root because i don't use vi, i dont like vi and dont wanna learn it so i use this command to bypass vi, export EDITOR=nano; visudo -however in order to exit nano you need to hold control and type x, my bluetooth keyboard will not let me do this for some reason. no idea why. Any suggestions would be appreciated..
Anyways, back on subject, two dashes does work, you just need to sudo su to get root in the command line and then type unity --reset .. also, i'm pretty sure any user name needs to be all lowercase letters, i believe a read that somewhere. maybe sudo is misinterpreting those uppercase letters as an option or something of that nature...
hope this helps you and anyone else in some way..
ArchLinux=ElegantSimplicityBrutalPower