参考链接:http://www.itzgeek.com/how-tos/mini-howtos/how-to-install-virtualbox-extension.html
http://www.voidcn.com/blog/a6383277/article/p-376317.html
本来以为安装好增强工具就可以使用远程桌面功能了,但是发现并不是,经过查阅资料得出如下步骤
- 下载扩展包(注意版本)
- 安装扩展包
VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-5.0.20-106931a.vbox-extpack
- 然后可以得出如下信息
[[email protected] ~]# VBoxManage list extpacks
Extension Packs: 1
Pack no. 0: Oracle VM VirtualBox Extension Pack
Version: 5.0.20
Revision: 106931
Edition:
Description: USB 2.0 and USB 3.0 Host Controller, Host Webcam, VirtualBox RDP, PXE ROM, Disk Encryption.
VRDE Module: VBoxVRDP
Usable: true
Why unusable:
- 启动虚拟机
VBoxHeadless --startvm "ub-server" & (默认3389端口)
VBoxHeadless --startvm "ub-server" -e "TCP/Ports=8899" & (指定端口为8899)
- VBoxManage modifyvm "test" --vrdeauthtype external
VBoxManage registervm /home/tianpeiwang/VirtualBox\ VMs/test/test.vbox