Are your graphics dead in Ubuntu 9.10 (Karmic)? This hack might help: "Click: 'If you just want to fix your computer, and by chance you are having the same problem as I, try this quick fix. It worked for me:
The problem is with kernel mode setting, which is causing X to die.'"