Ok, So looking at the logs and the comments.Here is my first set of analysis,
You have two video cards,
- Intel which is integrated video card
- Nvidia 960M
Which is called as Optimus setup.
By default now you are switched to Nvidia driver which is somehow causing the problem.
To get rid off this problem first you should try not to boot till graphical.target.
Try not to boot till graphical.target
- Go to recovery mode and get the root shell.
- Remount the rootfs using
mount -o remount,rw /
- Enable
multi-user.target which is not really required but kind of double check using systemctl enable multi-user.target --force
- Set default target to multi user using
systemctl set-default multi-user.target
- Reboot the system.
So now you should get a login prompt and enter your login username and password.
Uninstall the Nvidia drivers
This is bit tricky, You need to identify the drivers which are installed. Some of the distribution provides drivers along with their release which is proprietary and tested. There are other third party drivers like Noveau. So,
- Search for the available drivers which are in your repo using
apt-cache search nvidia. I hope which should list some of the packages like nvidia-364 nvidia-304 nvidia-noveau.
- If you are not sure about the one which you have installed then try uninstalling all. For example, If you are using
nvidia-304 then sudo apt-get purge nvidia-304
- Again kind of fail safe measurement, try reinstalling
Xorg using sudo apt-get install --reinstall xorg.
- Once you are done with all these steps, flush your buffer using
sync and reboot. Again you will get the login prompt and just login and proceed for the next steps.
Switch back to graphical.target
In this phase try to switch back to graphical.target to test your luck ;)
- Boot into recover mode.
- Remount the rootfs
mount -o remount,rw /
- Switch to
graphical.target using sudo systemctl set-default graphical.target
- Flush the buffer using
sync
- Reboot the system.
- That should bring your UI up along with all the input devices working.
Cheers!
xorg.conf.systemctl set-default multi-user.targetand reboot the system. At least that should make you to use the keyboard and give the information which I asked in my previous comments.