How to disable Ctrl+Alt+Backspace from restarting X in GNOME
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
Option "DontZap" "yes"
Save the edited file