I was having some difficulties getting BT5 64-bit KDE to install in VirtualBox and after hunting around on this forum I figured it out, so I thought I'd share.

First, as pointed out in other threads, upon booting BT5 and running startx, KDE fails to load and you get kicked back to text mode. To get KDE to start, you must first do this:

Code:
rm /root/.kde/cache-root/icon-cache.kcache
rm /root/.kde/cache-root/plasma_theme_Volatile.kcache
This fix was previously pointed out here by fnord0 (and many thanks to him).

After KDE boots, you can run the install script on the desktop without incident.

Upon reboot, startx will again fail. To fix this we have to take an extra step:

Code:
rm /root/.kde/cache-root/icon-cache.kcache
rm /root/.kde/cache-root/plasma_theme_Volatile.kcache
rm /root/.kde/cache-bt/icon-cache.kcache
rm /root/.kde/cache-bt/plasma_theme_Volatile.kcache
Next, to install VirtualBox Guest Additions you need the kernel sources by doing:

Code:
prepare-kernel-sources
cd /usr/src/linux
cp -rf include/generated/* include/linux/
This was originally posted here by muts (and again, much thanks).

After the kernel sources have been prepared, the VBoxLinuxAdditions script will run without incident.

After all of that, BT5 should be good to go. In the event startx fails again, simply repeat those 4 'rm' commands in step 2.