SOLVED (Sort of): Installing extension packs via console
Posted: 28. Jan 2011, 15:26
Hi all,
I recently upgraded my VirtualBox 3.2 to 4.0.2 (running on Ubuntu 10.10) and am trying to install the extension pack for RDP & USB 2.0 support.
The box is headless, so I'm doing this over shh...
Installing the pack goes as follows
So, for some reason it's trying to kick up gksu even though it's headless...
So I try with sudo
Which seems all well and good until I check
but sudo finds them
So I'm guessing that the extension packs are only being installed for root, rather than the virtualbox account that the daemons run under. Has anyone got any ideas on how to install the extensions correctly??
Many thanks.
I recently upgraded my VirtualBox 3.2 to 4.0.2 (running on Ubuntu 10.10) and am trying to install the extension pack for RDP & USB 2.0 support.
The box is headless, so I'm doing this over shh...
Installing the pack goes as follows
Code: Select all
virtualbox@gnosis:#$ VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.0.2-69518.vbox-extpack
0%...
Progress state: NS_ERROR_FAILURE
VBoxManage: error: Failed to install "/var/lib/virtualbox/Oracle_VM_VirtualBox_Extension_Pack-4.0.2-69518.vbox-extpack": The installer failed with exit code 1: No protocol specified
VBoxManage: error: (gksu:10398): Gtk-WARNING **: cannot open display: :0.0So I try with sudo
Code: Select all
virtualbox@gnosis:#$ sudo !!
sudo VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.0.2-69518.vbox-extpack
[sudo] password for virtualbox:
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Successfully installed "Oracle VM VirtualBox Extension Pack".Code: Select all
virtualbox@gnosis:#$ VBoxManage list extpacks
Extension Packs: 0Code: Select all
virtualbox@gnosis:#$ sudo !!
sudo VBoxManage list extpacks
Extension Packs: 1
Pack no. 0: Oracle VM VirtualBox Extension Pack
Version: 4.0.2
Revision: 69518
Description: USB 2.0 Host Controller, VirtualBox RDP, PXE ROM with E1000 support.
VRDE Module: VBoxVRDP
Usable: true
Why unusable:Many thanks.