Driver install ERROR, X server

I downloaded the driver for my 650 Ti and when I try to install it I get this message.

ERROR: You appear to be running an X server; please exit X before
installing. For further details, please see the section INSTALLING
THE NVIDIA DRIVER in the README available on the Linux driver
download page at www.nvidia.com.

The readme file does not have any solutions. How do I exit X server?
I am running Linux Mint 14 MATE 64

Linux Mint is very similar to Ubuntu. It would be easier if you follow any of the tutorials on Google to install the nvidia-driver from the corresponding repositories instead of having to deal with exiting out of X. There’s a few different ways of doing that among which killing lightdm/gdm, depending on what’s running, or booting without X running in the first place.

Regardless, something like what I mention below would be a lot easier and less prone to possibly breaking the nvidia driver every time you update your kernel:

  1. add repository with updated drivers
  2. update system with metadata from repository
  3. install nvidia-drivers from repo

sudo apt-add-repository ppa:ubuntu-x-swat/x-updates
or
sudo add-apt-repository ppa:xorg-edgers/ppa
and then
sudo apt-get update
sudo apt-get install

where represents the nvidia driver version package(s) are available in the corresponding repositories listed above by browsing here:
[url]http://www.ubuntuupdates.org/ppa/ubuntu-x-swat[/url]
[url]http://www.ubuntuupdates.org/ppa/xorg-edgers[/url]

Other relevant tutorial for Ubuntu that does it by killing X and using the specific NVIDIA drivers downloaded – but this should only be done if you require a specific version of drivers for a particular reason… otherwise, stick with the distro method… a lot easier to manage.

[url]http://sn0v.wordpress.com/2012/12/07/installing-cuda-5-on-ubuntu-12-04/[/url]