If you can launch the repair console try ...
If you can launch the repair console try
'apt-get remove --purge gdm'
'apt-get install gdm'
otherwise you could just copy the file from a liveCD. Once in the live CD just mount your harddrive somewhere:
sudo mount /dev/hdd /mnt
then copy the file from the liveCD to your harddrive