Your .xinitrc script gets run when you launch X11. ( this is X11-101) Check your .xinitrc file and the global xinitrc file (somewhere in /etc/X11).
Here's what some of my scripts look like:
[motherg4:~] whschult% cat .xinitrc.kde
exec startkde
[motherg4:~] whschult% cat .xinitrc.gnome
exec gnome-session
[motherg4:~] whschult%