- Code: Select all
apt update
apt install linux-headers-$(uname -r|sed 's/[^-]*-[^-]*-//') nvidia-legacy-340xx-driver
apt-get install nvidia-xconfig
sudo nvidia-xconfig
But now when I try to log in I get a screen that says:
[FAILED] Failed to start Light Display Manager.
See 'systemctl status lightdm.service' for details.
I read a guide that said that the problem can be fixed by editing/creating the file /ect/modprobe.d/blacklist.conf and adding the lines:
- Code: Select all
blacklist nouveau
blacklist lbm-nouveau
options nouveau modeset=0
alias nouveau off
alias lbm-nouveau off
So I did that and nothing changed. I did notice there was a file named "blacklist nvidia-nouveau" or something along those lines in there. Should I add the code to that file?