Remove Nvidia Drivers on Ubuntu
Category:LinuxAnd start a new install again. Sometime the GUI crash and you cannot use the X server again.
The following command will remove the proprietary Nvidia driver:
sudo dpkg -P $(dpkg -l | grep nvidia-driver | awk ‘{print $2}’) sudo apt autoremove
Switch back to nouveau driver:
sudo apt install xserver-xorg-video-nouveau
Reboot your system
Once your system has rebooted confirm loaded nouveau
modules:
lsmod | grep nouveau nouveau 1949696 4 mxm_wmi 16384 1 nouveau ttm 106496 1 nouveau drm_kms_helper 184320 1 nouveau drm 491520 7 drm_kms_helper,ttm,nouveau i2c_algo_bit 16384 1 nouveau wmi 32768 3 wmi_bmof,mxm_wmi,nouveau video 49152 1 nouveau
Reboot your system
You can reinstall the Nvidia drivers using the GUI