Just installed NVIDIA GeForce 310M with nvidia-installer.

Whenever lock the screen on XFCE the screen goes black (using gnome-screensaver) and cannot do anything without control, alt, F2, logging in via the command line and restarting the computer

Would like to revert back to the nouveau driver.

So far ran

sudo nvidia-installer -n


sudo pacman -Rnssu nvidia-installer

but booted into a black screen with a blinking cursor.

Tried replacing the content of "“/etc/X11/xorg.conf.d/” with the original content. This did not resolve.

Had to use control, alt, F2 and

sudo pacman -S nvidia-installer
sudo nvidia-installer

to get back into the computer.