Fix crash without DISPLAY when -x