After TONS of time, research, hours spent to understand what was wrong...I did it!
The hard way is always the best way...bruteforce for the win!
If anyone else will have troubles installing the drivers for the nVidia GeForce GTX 960M, or maybe installing them on Linux Mint Cinnamon 64-bit 17.2 "Rosa", I want to let you know what I did:
First of all, I had troubles because Mint Cinnamon (remember that I'm a Linux newbie, so everything I say CAN BE WRONG! Feel free to correct me!) uses 'mdm', but it has 'lightdm' installed too. So, whenever I tried to stop 'lightdm', I forgot to stop 'mdm', and viceversa. That's my hypothesis about why I got the 'X server' error every single time, even if I stopped them and then tried to install. So, whenever you have to install a nVidia driver via command-line, check the status of both and be sure that both are 'stop/waiting'.
Code: Select all
sudo service lightdm status
sudo service lightdm stop
sudo service mdm status
sudo service mdm stop
If it doesn't solve your problem you can always go bruteforce like I did, uninstalling the whole nVidia stuff on your computer by purging the files to death. Yes, I'm being a little bit epic atm, ahahah
Code: Select all
sudo apt-get remove --purge nvidia-*
FYI, the asterisk in the end means "Purge everything that begins with the name nvidia-", which is the most aggressive way to delete every nVidia driver, file, and stuff. At least this way you are totally sure that the 'X server' won't bother you anymore, because I found out that if you have drivers installed you can stop 'lightdm' and 'mdm' how many times you like, but they won't give a damn about your command. Maybe it was just my laptop, maybe not...I'll leave it here for the future, but I do hope no one will ever encounter problems like that, really...
Everything purged? GOOD! Now you can install the drivers without problem, just go CTRL+Alt+F1, blacklist the whole Nouveau (check the first post of this topic for the whole guide!), update, change the GRUB to 'text', update GRUB, reboot...and install drivers. Then change back everything, and...YOU'RE DONE! Do a simple 'sudo apt-get update', and then 'sudo apt-get upgrade', and enjoy your new drivers!
Post Scriptum
After installing the drivers my Cinnamon decided the troubles I had weren't clearly enough: it was stuck at Fallback mode, crashing all the time. The solution was pretty easy, tho.
Code: Select all
sudo add-apt-repository ppa:bumblebee/stable
sudo apt-get update
sudo apt-get install bumblebee bumblebee-nvidia
Google told me that lot of people have troubles after installing any nVidia driver in any nVidia cards, and this one was the easiest problem I've encountered, lol. Just install Bumblebee, update, upgrade, reboot, and you will forget the crashes too.
You are welcome. Also, thanks to the whole community here. Always nice, and really helpful!