[vbox-dev] VirutalBox XPCOM interface as root

Rudolfs Bundulis rudolfs.bundulis at gmail.com
Thu Apr 21 16:16:39 GMT 2016


Hi Klaus,

Where do I look for VBoxSVC.log on Linux? And do I have to set any environment variables? Sadly I was used to Windows, but now I need to port my custom framebuffer stuff to Linux.

-----Original Message-----
From: "Klaus Espenlaub" <klaus.espenlaub at oracle.com>
Sent: ‎21/‎04/‎2016 18:15
To: "vbox-dev at virtualbox.org" <vbox-dev at virtualbox.org>
Subject: Re: [vbox-dev] VirutalBox XPCOM interface as root

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.
_______________________________________________
vbox-dev mailing list
vbox-dev at virtualbox.org
https://www.virtualbox.org/mailman/listinfo/vbox-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20160421/0b4e0f19/attachment.html>


More information about the vbox-dev mailing list