I had a similar problem, and a lot of other people, and for me the solution was to add the following line in your lilo.conf (assuming you're using lilo):
vga = 0x0317
Run lilo again, reboot and see if that worked.
For me, I was able to watch tv-out and reboot/shutdown/logout without crashing my pc again.
What was you're username again?