Remove VMWare software prior to install Virtualbox Guest Additions
Code:
aptitude purge xserver-xorg-video-vmware
vmware-uninstall-tools.pl
reboot
Install lastest dkms package from BT repository
Code:
dragon
repositories
quit
apt-get update
apt-get upgrade
apt-get install dkms
Install Vbox Guest Additions..
Code:
mount /dev/hdX /mnt/cdrom
cd /mnt/cdrom
./VBoxLinuxAdditions-x86.run
reboot
Then check if vbox modules are loaded on boot and vbox guest services are running...
Code:
dmesg |grep vbox
/etc/init.d/vboxadd status && /etc/init.d/vboxadd-service status
Check /var/log/Xorg.0.log in order to verify vbox xorg modules are loaded successfully. Here a xorg.conf example :
Code:
Section "InputDevice"
Identifier "VirtualBox Mouse"
Driver "vboxmouse"
Option "CorePointer"
EndSection
Section "Device"
Identifier "VirtualBox Video Card"
Driver "vboxvideo"
BusID "PCI:0:2:0"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
Option "DPMS"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "VirtualBox Video Card"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
And finally ensure you have /usr/bin/VBoxClient-all added in your .xinitrc