You are here
Home > Linux > Application Configuration > Ubuntu 17.10 black screen solution

Ubuntu 17.10 black screen solution


So today I will show you the Ubuntu 17.10 black screen solution.

When would you use this:
1. If you have multiple monitors for example 2 or 3 and one of them keeps black screening
2. DVI monitor on Ubuntu not working as expected and giving you a black screen
3. Messed up ATI or NVIDIA graphics driver
4. Ubuntu screen drivers not performing as expected

This also works on older versions of Ubuntu, so give it a go if you are experiencing any of the above issues.

Let us start with the Ubuntu 17.10 black screen solution. We will completely remove and reinstall and configure xorg server on ubuntu, mint/debian
1. Start up your machine
2. Press Ctrl + Alt + F2 (You can use F3, F4, F5 or F6 as well)
3. Login with your user name and password
4. Now you will use the following commands to switch your black Ubuntu’s Xorg configuration to its original form.

Remove Xserver

Here we will purge all files containing “xserver-”

sudo apt-get purge xorg "xserver-*"

Provide your sudo password and wait for it to finish. Now we will purge the lightdm and plymouth files

sudo apt-get purge lightdm plymouth

Remove the xorg directory within X11

sudo rm -rf /etc/X11/xorg

Finally auto remove the packages using apt-get

sudo apt-get autoremove

That is it for the removal. Next we will install and reconfigure Xserver to resolve the problem

Install xorg and xserver in ubuntu

sudo apt-get install xauth xorg openbox lightdm plymouth

After the above step has been completed you will already have a right click GUI but still not the proper one so follow the next step to install ubuntu-desktop

sudo apt-get install ubuntu-desktop

You might be prompted about which desktop environment you want to use, select the Gdm one and continue. This step is not always required.

After this step has completed you can run the reboot command to reboot your machine and everything should be back to normal


If for some reason that did not work, please try the following:

sudo dpkg --configure -a
sudo apt-get update
sudo apt-get upgrade -y


Please subscribe to my YouTube Channel for my weekly videos. If this was helpful please consider a donation or giving me a thumbs up and rating on the STARS

Thank you for following my tutorial. You can click here for more Ubuntu Tutorials.