Be prepared for x11_setup_display() to return NULL (for instance, if DISPLAY