I was trying to fix brightness on Ubuntu 14.04. So i tried what is mentioned here How do I set default display brightness? i ran the scripts as mentioned on the terminal.
sudo apt-get install xbacklight
sudo bash -c '{
echo "#!/bin/bash"
echo "xbacklight =30"
} > /etc/lightdm/display-setup-script.sh '
sudo chmod a+rx /etc/lightdm/display-setup-script.sh
if
grep ^display-setup-script /etc/lightdm/lightdm.conf ;
then
echo "Already a display-setup-script. It may already do what you need. Else please adjust manually" ;
else
sudo bash -c "echo display-setup-script=/etc/lightdm/display-setup-script.sh >>/etc/lightdm/lightdm.conf" ;
fi
After rebooting the system, the grub is working fine, it shows both Ubuntu and Windows. But after clicking on Ubuntu, it just shows a black blank screen. i tried going into recovery mode and updating grub and fixing broken packages, but after that also Ubuntu dosen't start. How do i fix this?