There is black screen with login prompt. After typing my credentials I enter terminal and see my files.

How to fix that problem and go back to usual desktop

enter image description here

enter image description here

1 Answer 1


Step 1

Manually start Xorg:


This might successfully start the display server but, more likely, it will fail and give you an error that might help identify the problem.

If an error is thrown which references a particular package that rings a bell (e.g. a recently-installed graphics driver), do an apt purge on it and reboot before proceeding to the next step (if still needed).

Step 2

Remove these configuration files and clear the user cache (Optionally, rename them instead to serve as backup):

rm .ICEauthority
rm .Xauthority
rm -rf .cache

Then reboot.


Information on what these config files do:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.