[ubuntu] Display not working

view story

http://ubuntuforums.org – ...well, kind of. This is on a 12.04 machine that was formerly a desktop environment but lately has been functioning as a server. I'm at the facility now with a monitor plugged in and it will not boot to the desktop. When the computer starts, it gives me a grub boot option, which has always been normal for this computer, and it is displayed in color. Then, it goes straight to the command terminal. "startx" does not work...it crashes the system. If I run gnome-panel, I get Quote: Gtk WARNING: cannot open display: 0 If I run compiz, I (Hardware)