You can't be both
If you are logging in from a console, then that's console. If you are logging in graphically, then that's via kdm, gdm or xdm. From there it's "KDE or Gnome"
Anyway, have a look at /etc/profile You are looking for PS2 most likely...