Sponsored Link
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup
Now you need to edit the file using the following command
sudo gedit /etc/X11/xorg.conf
Add the following lines at the end of file
Section "ServerFlags"
Option "DontZap" "yes"
EndSection
Save the edited file