Revert "Disallow 3D mode when running outside of X11"

This reverts commit e71e650adb2b47bf64eddf5caae736adc77282af.

The check is_running_in_x11 is, unfortunately, bogus.