I'm on Ubuntu 17.04 and I recently installed the xdm package by accident, thinking it stands for Xtreme Download Manager. Now I have a black screen on Ubuntu. Before I log in, a window appears and it says:
Welcome to Ubuntu
login:
password:
After logging in using this black screen, I tried this command:
unity --reset
The problem is, I have lost all of my settings after running this command. And secondly, I see this black screen every time I log in.
What should I do?
Is there a way to fix this problem without removing nvidia? like:
sudo apt-get remove nvidia-*
I also tried these commends:
sudo apt-get install ppa-purge
sudo ppa-purge ppa:unity-team/staging
sudo apt-get update
sudo apt-get install --reinstall ubuntu-desktop
sudo apt-get install unity
Nothing happened!
If it matters, note that in BIOS boot menu I chose legacy mode because I'm using Kali and Ubuntu (dual boot).