OK I solved the problem following these instructions:

$ sudo apt-get remove --purge '^nvidia-.*'
$ sudo apt-get autoremove
$ sudo rm /usr/share/X11/xorg.conf.d/20-intel.conf
$ sudo rm...