Configuring the core KDE packages

First create an /opt/kde symlink:
ln -sf /opt/kde-3.1 /opt/kde

Then create an .xinitrc file to start KDE:
echo "exec startkde" > ~/.xinitrc
and ensure all libraries can be found with:
ldconfig

At this point you can bring up KDE with:
startx