If it's just x you need to reconfigure, I think this will work:
dpkg-reconfigure xserver-xfree86
I believe thats the command for debian, I'm on my ubuntu box at the moment
, sorry. It might be dpkg-reconfigure x-window-system or something else like that, I'll be on my deb box later, will give it a shot