Monday, April 19, 2010

Headless remote desktop Fedora 12

My old slow computers often end up in the basement headless with remote desktop enabled so I can VNC to them from my real desktop. With Fedora 12 (and possibly earlier since I skipped from Fedora 7 to Fedora 12) when I unplugged the monitor from my Fedora 12 machine it refused to start X when it booted, thus preventing VNC and making it useless.

It turns out this machine had an old nvidia graphics card so Xorg was auto-detecting the nv drivers. For some reason these drivers crash Xorg on Fedora 12 when there is no monitor. With a monitor hooked up (I tried several) it always boots fine.
I went to a manual xorg.conf file and set the driver to vesa. This fixed the problem and let me boot without a monitor and VNC in.

I did try identical xorg.conf files changing only the driver line, and having the nv drivers always crashes a machine without a monitor. Go figure.