• I've selected a specific orientation setting and the screen went black.
    The orientation setting is stored in the file named /private/var/db/.com.apple.iokit.graphics.

    Delete this file and reboot, you'll get a normal display again.