This is my first Linux encounter. I have Asus ROG gl752vw, i7 6700, 16GB RAM 128 GB SSD, 1 TB HDD nvidia geforce 960m 4GB machine preinstalled with Windows 10.
I installed Ubuntu GNOME 16.04 with live USB made with win32 disk imager (before that made backup using Macrium reflect, following instructions from a blog in everydaylinuxuser) as per blog, I didn't choose the "install alongside Windows" option, but manually created partitions. Secure boot was turned off and fast startup also off.
After installation I have to change boot order in BIOS for Ubuntu, or Windows Boot Manager starts by default. Ubuntu desktop never booted on its own. When I resumed from recovery mode it booted in low resolution mode.
I tried everything for nvidia drivers i.e. purged, reinstalled through PPA etc. Also set nomodeset. After that it started booting on its own in low resolution mode.
Then while trying to reconfigure nvidia drivers I selected lightdm in place of gdm3 by mistake. Now it is stuck in a login loop. I tried to enter tty 1/2/3 and could enter tty 3. Tried to repair lightdm, installed lxdm and lubuntu-desktop even. But every desktop environment is stuck in loop. It allows me to login with my password but comes back to the login page again.
What should I do?