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
elementary OS Stack Exchange is a question and answer site for developers and users of elementary OS and applications. It only takes a minute to sign up.Sign up to join this community
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).
Remove these configuration files and clear the user cache (Optionally, rename them instead to serve as backup):
rm .ICEauthority rm .Xauthority rm -rf .cache
Information on what these config files do: