NO GUI INTERFACE

How can I disable gui interface and use only text mode, I need access my server from DSL in telnet.