In the login window don't login with your username and password, but type '>console' as name and leave password blank. Now hit the login button.
You will get a Command line login screen, after you login you will get the command line interface, without firing up any graphical stuff.
type exit...