You have X11 installed. Removing it should get you running again:
sudo apt remove x11-common
and reboot.
Or, give this thread a read as you appear to have RetrOSMC installed:
You have X11 installed. Removing it should get you running again:
sudo apt remove x11-common
and reboot.
Or, give this thread a read as you appear to have RetrOSMC installed: