[vbox-dev] VirutalBox XPCOM interface as root

Klaus Espenlaub klaus.espenlaub at oracle.com
Thu Apr 21 15:15:18 GMT 2016


Hi Rūdolfs,

On 20.04.2016 10:54, Rūdolfs Bundulis wrote:
> Hi,
>
> I encountered errors when trying to instantiate the VirtualBox interface
> through XPCOM on Ubuntu running as root - the CreateInstanceByContractID
> call always gives back 0x80004005 (NS_ERROR). On the other hand running
> the xpcom sample as non-root works fine. Sadly I currently can't launch
> my code as non root (but I'll try fixing that). Is that simply a known
> limitation that root cannot connect to the service or is there smth I am
> missing?

Not a known issue. VirtualBox works just fine for me as root (I'm not 
using Ubuntu, though).

Anything in VBoxSVC.log which would give hints?

Klaus
>
> Best Regards,
> Rudolfs Bundulis.



More information about the vbox-dev mailing list