If you insist on starting X from the command line, you need to create a .xinitrc file into your home directory. It's the file that "startx" command will check to see which DE (gnome or kde) it should start. You can make the contents of .xinitrc to look like this:
#exec gnome-session
exec startkde
This will tell "startx" to start kde. If you want to start gnome instead, just move the # character to the beginning of the other line.
However, you might want to install a GUI display manager like gdm or kdm that lets you to choose from a menu which DE (gnome or kde) you want to start. If you have trouble starting the display manager automatically, you can install the "rcconf" package that lets you enable/disable the services started at boot time.
|