For KDE3:
% echo “exec startkde” > ~/.xinitrc
For KDE4:
% echo “exec /usr/local/kde4/bin/startkde” > ~/.xinitrc
Now, whenever the X Window System is invoked with startx, KDE will be the desktop.
% echo “exec startkde” > ~/.xinitrc
For KDE4:
% echo “exec /usr/local/kde4/bin/startkde” > ~/.xinitrc
Now, whenever the X Window System is invoked with startx, KDE will be the desktop.