You might try Ctrl-Alt-F1 (or one other function key between 1 and 6). This should get you to a terminal login if the runlevel is 2 (which is usually the default with debian). Then log in as root, type "more /etc/inittab". You should see a line that say id:N:initdefault: where N is some number (that is the default runlevel). Remeber that number. Now type "cd /etc/rcN.d" where "N" is that runlevel number. Then type "ls" to get a directory listing. There should be a file like "S99xdm". Remove that file with "rm S99xdm" to stop X from automatically running when you boot up. Now try to fix the problem with X, testing it out with "startx". When you fix the problem, you can get X to start automatically again by typing "ln -s /etc/init.d/xdm /etc/rcN.d/S99xdm", again where "N" is the target runlevel.
Hope that helps... -- Eric G. Miller Powered by the <A HREF="http://www.debian.org">POTATO</A>!