This question already has an answer here:
I deleted all partitions and I installed Ubuntu 12.04 LTS. Well, when I startup my PC, after the Ubuntu's logo, a black screen appears but I hear the log on sound.
If I restart and connect other screen, the OS starts sucessfully. Any ideas?