I had the exact same problem with the GTX 1060 and 16.04. I followed all of the instructions here and in other threads but couldn't get past the login screen.

I was able to get it working by installing ubuntu 14.04, having secure boot disabled (I don't know if this matters I had just already tried it and kept it that way just in case - I may follow up if I try again with it on), and installing the proprietary drivers.

To install the proprietary drivers these are the exact steps I took. We have similar models so it might work for you.

CTRL+ALT+F1 #if you haven't already

sudo service lightdm stop cd ~/Downloads wget http://us.download.nvidia.com/XFree86/Linux-x86_64/367.57/NVIDIA-Linux-x86_64-367.57.run sudo chmod +x NVIDIA-Linux-x86_64-367.57.run sudo ./NVIDIA-Linux-x86_64-367.57.run sudo reboot

The driver install was done after a completely fresh install of ubuntu 14.04.5.

Here are some of my parts just in case it helps.