You could create a file
.xinitrc in your user's directory with something like this in it:
Code:
exec gnome-session
#exec kde
#Esetroot ~/backgrounds/linux.png &
#gkrellm -w &
#xscreensaver &
#taglines &
#root-tail -g 100x10x0+0 /var/log/messages,yellow /var/log/xferlog,white /var/log/proftpd.log,green /var/log/apache/access_log,blue &
#exec fluxbox
Or you could alias commands to start different wm/de by adding a section to your .bashrc similar to this:
Code:
# for launching window manager/desktop environments from console login
alias a='echo DESKTOP=AfterStep > ~/.desktop;startx'
alias ice='echo DESKTOP=icewm > ~/.desktop;startx'
alias kde='echo DESKTOP=KDE3 > ~/.desktop;startx'
alias wm='echo DESKTOP=WindowMaker > ~/.desktop;startx'
alias sf='echo DESKTOP=Sawfish > ~/.desktop;startx'
alias g='echo DESKTOP=Gnome > ~/.desktop;startx'
alias xf='echo DESKTOP=XFce > ~/.desktop;startx'
alias bb='echo DESKTOP=BlackBox > ~/.desktop;startx'
alias fb='echo DESKTOP=FluxBox > ~/.desktop;startx'
alias e='echo DESKTOP=Enlightenment > ~/.desktop;startx'
When you log out and log back in, they should take effect.