After Xorg starts, keyboard doesn't work. It's even impossible to change tty. I've extracted logs and it says [    14.990] (EE) Failed to load module libinput (loader failed, 7)and[    14.989] (EE) Failed to load /usr/lib/xorg/modules/input/libinput_drv.so: /usr/lib/x86_64-linux-gnu/libinput.so.10: version `LIBINPUT_1.5' not found (required by /usr/lib/xorg/modules/input/libinput_drv.so)Full log: http://pastebin.com/hze08rbGHow can I solve it using other linux or disabling Xorg someway?
Keyboard doesn't work
xorg;keyboard
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 cardNvidia 960MWhich 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.targetGo 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 --forceSet default target to multi user using systemctl set-default multi-user.targetReboot the system.So now you should get a login prompt and enter your login username and password.Uninstall the Nvidia driversThis 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-304Again 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.targetIn 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.targetFlush the buffer using syncReboot the system.That should bring your UI up along with all the input devices working.Cheers!