This document describes how to install virtual box and its extension pack to enable rdp. notice that don't install virtualbox from repositry, it may cause some problems.
1- First, delete the virtualbox (if it is installed already):
apt-get remove --purge virtualbox
yum remove virtualbox
2- Open the following link on your browser:
https://www.virtualbox.org/wiki/Downloads
3- Download virtualbox
which is compatible with your system.
4- Download virtualbox extension pack
5- Install virtualbox
:
dpkg -i <virtualbox package name>
rpm -ivh < virtualbox package name>
6- Install virtualbox extension pack
with:
sudo VBoxManage extpack install --replace
Oracle_VM_VirtualBox_Extension_Pack-${LatestVirtualBoxVersion}.vbox-extpack
7- To verify that it has been installed properly, run the following command:
VBoxManage list extpacks
8- Enjoy it!