As root, run
#dpkg-reconfigure xserver-xfree86
Answer the questions they ask, and when it comes to resolution, select 1024 x 768 with your spacebar. Also make sure you deselct any resolutions you do not want. Restart xserver or log off and log back on and your new resolution should be set.
Good Luck