Q: X-server does not start after a crash and only shows a CLI. How to fix?

 

A: Make sure you're not running an X-server already. To make sure, reboot the computer after you've changed "id:5:initdefault:" to "id:3:initdefault:" in /etc/inittab.

Then login as root and go to /tmp. Delete the file .X0-lock and rename the folder X11-unix to eg X11-unix.bak.

Change back the "id:3:initdefault:" in /etc/inittab to "id:5:initdefault:" and reboot again.

X should now start properly.