If you can somehow get into the file "/etc/X11/XF86Config" and edit it (you will need
to be root to do that), you can change the monitor section back to the resolution that
works. Here's how the section reads in mine, for a 19-inch monitor at 1280x1024 resolution:
Code:
Section "Monitor"
Identifier "monitor1"
VendorName "Generic"
ModelName "1280x1024 @ 60 Hz"
HorizSync 31.5-64.3
VertRefresh 50-70
If when you boot you get a choice of something like "press F1 for other options" you
can do that and chances are you may be able to go
su
<enter password>
cd /etc/X11
cp ./XF86.config XF86.config_bkp
vi ./XF86.config
or it might be "vim" for the editor--your system will surely have one or both.
Then press "insert" or "i" to enter editing mode and edit that section,
and when you have it the way you hope will work, press
esc
:
w
q
which will write the file and quit the editor. Then try booting and see
if this change did the trick. You can always restore the file from the
backup copy you made if need be.