VBoxManage 2.0.4 fails to start as a non-root on Ubuntu 8.04
Posted: 8. Nov 2008, 07:55
Dear VirtualBox gurus:
I have a terrible problem that I tried to resolve to no avail. I have installed vbox 2.04 on Ubuntu 8.04 server. I run it using command line only. Everything works FINE when I run VBoxManage as ROOT. But it fails terribly when I try to run it as a different user that IS a member of the vboxusers group:
Create the user:
Assume his identity and run VBoxManage
Error message:
I would greatly appreciate ANY advice as I seem to be seriously lost. I need to run virtual box as a couple of different users...
THANK YOU!!!
Rudy
I have a terrible problem that I tried to resolve to no avail. I have installed vbox 2.04 on Ubuntu 8.04 server. I run it using command line only. Everything works FINE when I run VBoxManage as ROOT. But it fails terribly when I try to run it as a different user that IS a member of the vboxusers group:
Create the user:
Code: Select all
adduser --system --ingroup vboxusers testvm
Code: Select all
sudo -u testvm bash
cd ~testvm
VBoxManage list systemproperties
I tried to search the net and even changed device permissions as described in the FAQ, but that was not the problem:VirtualBox Command Line Management Interface Version 2.0.4
(C) 2005-2008 Sun Microsystems, Inc.
All rights reserved.
[!] FAILED calling com::Initialize() at line 8446!
[!] Primary RC = NS_ERROR_FAILURE (0x80004005) - Operation failed
It may have something to do with utf-8 conversions as suggested in http://www.mail-archive.com/vbox-users@ ... 03473.htmlcrw-rw---- 1 root vboxusers 10, 200 2008-08-15 01:12 /dev/net/tun
-rw-rw-r-- 1 root vboxusers 43 2008-11-08 10:56 /proc/bus/usb/001/001
-rw-rw-r-- 1 root vboxusers 43 2008-11-08 10:56 /proc/bus/usb/002/001
-rw-rw-r-- 1 root vboxusers 43 2008-11-08 10:56 /proc/bus/usb/003/001
-rw-rw-r-- 1 root vboxusers 43 2008-11-08 10:56 /proc/bus/usb/004/001
-rw-rw-r-- 1 root vboxusers 43 2008-11-08 10:56 /proc/bus/usb/005/001
-rw-rw-r-- 1 root vboxusers 43 2008-11-08 10:56 /proc/bus/usb/006/001
-rw-rw-r-- 1 root vboxusers 43 2008-11-08 10:56 /proc/bus/usb/007/001
-rw-rw-r-- 1 root vboxusers 43 2008-11-08 10:56 /proc/bus/usb/008/001
But why would that fail for a non-root user only? Also, the iconv library seems to be installed...I've found the problem using truss, virtualbox needs iconv for utf-8 support,
(solaris package SUNWuiu8) which isn't included in the minimal install.
I would greatly appreciate ANY advice as I seem to be seriously lost. I need to run virtual box as a couple of different users...
THANK YOU!!!
Rudy