I found the cause of the problem:
When executing sudo, you *gain* some root previlages, but you are not root.
Which means that you don't have any access to /root by using sudo
But sudo sets $HOME to /root, so sudo's home is /root, but can't be accessed by
sudo
to solve this just run this:
$ sudo
I have the same bug too, it's a very important bug because this way wou
won't be able to get in your desktop. I found it after installing Ubuntu
NEXT 24-Mar-2015, as @gizmochicken, My pc is a little 10' netbook with
2core Intel atom cpu, Intel graffics card with 3d acceleration and 1GB
ram memory.