You are not logged in.
I have gotten this error a few times now, when I try to launch the VirtualBox gui or start a VM from the command line with VBoxHeadless it says something like
VBoxHeadless: Error -10 in SUPR3HardenedMain!
VBoxHeadless: Effective UID is not root (euid=1000 egid=1000 uid=1000 gid=1000)
VBoxHeadless: Tip! It may help to reinstall VirtualBox.
Has anyone else had this issue? I fixed it last time by reinstalling virtualbox, but I don't want to reinstall every time this happens.
Some googling revealed it could be a permissions problem - virtualbox executables not set as suid root specifically, but I the permissions look ok to me on my executables unless I'm looking at the wrong ones.
Edit: just looked and it seems my permissions are NOT suid root on the executables, anyone know why this is happening?
Last edited by jowilkin (2010-01-19 05:10:29)
Offline
Where you able to solve the problem - and how?
I encounter the same error.
Offline
I don't get it. It seems that the permissions change after one start of VirtualBox:
ls -l /opt/VirtualBox
drwxr-xr-x 2 root root 4096 4. Feb 10:22 accessible
drwxr-xr-x 2 root root 4096 4. Feb 10:22 additions
drwxr-xr-x 2 root root 4096 4. Feb 10:22 components
-rwxr-xr-x 1 root root 434104 17. Dez 14:42 kchmviewer
lrwxrwxrwx 1 root root 23 4. Feb 10:22 libQtCoreVBox.so.4 -> /usr/lib/libQtCore.so.4
lrwxrwxrwx 1 root root 22 4. Feb 10:22 libQtGuiVBox.so.4 -> /usr/lib/libQtGui.so.4
lrwxrwxrwx 1 root root 26 4. Feb 10:22 libQtNetworkVBox.so.4 -> /usr/lib/libQtNetwork.so.4
lrwxrwxrwx 1 root root 25 4. Feb 10:22 libQtOpenGLVBox.so.4 -> /usr/lib/libQtOpenGL.so.4
-rw-r--r-- 1 thomas thomas 9173 17. Dez 14:39 LICENSE
-rw-r--r-- 1 root root 15324 17. Dez 14:39 License-7.html
drwxr-xr-x 2 root root 4096 4. Feb 10:22 nls
-rwxr-xr-x 1 thomas thomas 240736 17. Dez 14:42 rdesktop-vrdp
drwxr-xr-x 2 root root 4096 17. Dez 14:39 rdesktop-vrdp-keymaps
-rw-r--r-- 1 root root 307294 17. Dez 14:39 rdesktop-vrdp.tar.gz
drwxr-xr-x 5 root root 4096 4. Feb 10:24 src
-rw-r--r-- 1 root root 3841884 17. Dez 14:39 UserManual.pdf
-rwxr-xr-x 1 root root 140408 17. Dez 14:42 VBoxDbg.so
-rw-r--r-- 1 root root 15384 17. Dez 14:42 VBoxDD2GC.gc
-rw-r--r-- 1 root root 22520 17. Dez 14:42 VBoxDD2R0.r0
-rwxr-xr-x 1 root root 185096 17. Dez 14:42 VBoxDD2.so
-rw-r--r-- 1 root root 99940 17. Dez 14:42 VBoxDDGC.gc
-rw-r--r-- 1 root root 134144 17. Dez 14:42 VBoxDDR0.r0
-rwxr-xr-x 1 root root 2029104 17. Dez 14:42 VBoxDD.so
-rwxr-xr-x 1 thomas thomas 180240 17. Dez 14:42 VBoxDDU.so
-rw-r--r-- 1 root root 2031616 17. Dez 14:39 VBoxEFI32.fd
-rw-r--r-- 1 root root 2031616 17. Dez 14:39 VBoxEFI64.fd
-rwxr-xr-x 1 root root 38520 17. Dez 14:42 VBoxGuestPropSvc.so
-rwxr-xr-x 1 thomas thomas 21728 17. Dez 14:42 VBoxHeadless
-rwxr-xr-x 1 root root 77840 17. Dez 14:42 VBoxHeadless.so
-rwxr-xr-x 1 root root 63240 17. Dez 14:42 VBoxKeyboard.so
-rwxr-xr-x 1 thomas thomas 768136 17. Dez 14:42 VBoxManage
-rwxr-xr-x 1 thomas thomas 9312 17. Dez 14:42 VBoxNetAdpCtl
-r-s--x--x 1 root root 21728 17. Dez 14:42 VBoxNetDHCP
-rwxr-xr-x 1 root root 40744 17. Dez 14:42 VBoxNetDHCP.so
-rwxr-xr-x 1 root root 134848 17. Dez 14:42 VBoxOGLhostcrutil.so
-rwxr-xr-x 1 root root 148888 17. Dez 14:42 VBoxOGLhosterrorspu.so
-rwxr-xr-x 1 root root 148192 17. Dez 14:42 VBoxOGLrenderspu.so
-rw-r--r-- 1 thomas thomas 5359 17. Dez 14:39 VBox.png
-rwxr-xr-x 1 thomas thomas 657328 17. Dez 14:42 VBoxREM.so
-rwxr-xr-x 1 thomas thomas 3299832 17. Dez 14:42 VBoxRT.so
-rwxr-xr-x 1 thomas thomas 21720 17. Dez 14:42 VBoxSDL
-rwxr-xr-x 1 root root 165064 17. Dez 14:42 VBoxSDL.so
-rwxr-xr-x 1 root root 3074 4. Feb 10:22 VBox.sh
-rwxr-xr-x 1 root root 45384 17. Dez 14:42 VBoxSharedClipboard.so
-rwxr-xr-x 1 root root 783680 17. Dez 14:42 VBoxSharedCrOpenGL.so
-rwxr-xr-x 1 root root 36376 17. Dez 14:42 VBoxSharedFolders.so
-rwxr-xr-x 1 thomas thomas 2191432 17. Dez 14:42 VBoxSVC
-rwxr-xr-x 1 root root 4394 17. Dez 14:39 VBoxSysInfo.sh
-rwxr-xr-x 1 root root 87120 17. Dez 14:42 VBoxTestOGL
-rwxr-xr-x 1 thomas thomas 7808 17. Dez 14:42 VBoxTunctl
-rwxr-xr-x 1 thomas thomas 1624072 17. Dez 14:42 VBoxVMM.so
-rwxr-xr-x 1 root root 224008 17. Dez 14:42 VBoxVRDP.so
-rwxr-xr-x 1 root root 7627136 17. Dez 14:42 vboxwebsrv
-rwxr-xr-x 1 root root 28904 17. Dez 14:42 VBoxXPCOMC.so
-rwxr-xr-x 1 root root 29248 17. Dez 14:42 VBoxXPCOMIPCD
-rwxr-xr-x 1 thomas thomas 1448112 17. Dez 14:42 VBoxXPCOM.so
-rws--x--x 1 thomas thomas 23776 17. Dez 14:42 VirtualBox
-rw-r--r-- 1 root root 2965311 17. Dez 14:39 VirtualBox.chm
-rw-r--r-- 1 thomas thomas 621 17. Dez 14:39 virtualbox.desktop
-rwxr-xr-x 1 root root 4665288 17. Dez 14:42 VirtualBox.so
-rw-r--r-- 1 root root 411412 17. Dez 14:42 VMMGC.gc
-rw-r--r-- 1 root root 605120 17. Dez 14:42 VMMR0.r0
-rwxr-xr-x 1 root root 7944 17. Dez 14:42 VRDPAuth.so
-rwxr-xr-x 1 root root 6542544 17. Dez 14:42 webtest
This are the permissions after a fresh install:
ls -l /opt/VirtualBox
drwxr-xr-x 2 root root 4096 4. Feb 10:22 accessible
drwxr-xr-x 2 root root 4096 4. Feb 10:22 additions
drwxr-xr-x 2 root root 4096 4. Feb 10:22 components
-rwxr-xr-x 1 root root 434104 17. Dez 14:42 kchmviewer
lrwxrwxrwx 1 root root 23 4. Feb 10:22 libQtCoreVBox.so.4 -> /usr/lib/libQtCore.so.4
lrwxrwxrwx 1 root root 22 4. Feb 10:22 libQtGuiVBox.so.4 -> /usr/lib/libQtGui.so.4
lrwxrwxrwx 1 root root 26 4. Feb 10:22 libQtNetworkVBox.so.4 -> /usr/lib/libQtNetwork.so.4
lrwxrwxrwx 1 root root 25 4. Feb 10:22 libQtOpenGLVBox.so.4 -> /usr/lib/libQtOpenGL.so.4
-rw-r--r-- 1 root root 9173 17. Dez 14:39 LICENSE
-rw-r--r-- 1 root root 15324 17. Dez 14:39 License-7.html
drwxr-xr-x 2 root root 4096 4. Feb 10:22 nls
-rwxr-xr-x 1 root root 240736 17. Dez 14:42 rdesktop-vrdp
drwxr-xr-x 2 root root 4096 17. Dez 14:39 rdesktop-vrdp-keymaps
-rw-r--r-- 1 root root 307294 17. Dez 14:39 rdesktop-vrdp.tar.gz
drwsr-xr-x 5 root root 4096 4. Feb 11:39 src
-rw-r--r-- 1 root root 3841884 17. Dez 14:39 UserManual.pdf
-rwxr-xr-x 1 root root 140408 17. Dez 14:42 VBoxDbg.so
-rw-r--r-- 1 root root 15384 17. Dez 14:42 VBoxDD2GC.gc
-rw-r--r-- 1 root root 22520 17. Dez 14:42 VBoxDD2R0.r0
-rwxr-xr-x 1 root root 185096 17. Dez 14:42 VBoxDD2.so
-rw-r--r-- 1 root root 99940 17. Dez 14:42 VBoxDDGC.gc
-rw-r--r-- 1 root root 134144 17. Dez 14:42 VBoxDDR0.r0
-rwxr-xr-x 1 root root 2029104 17. Dez 14:42 VBoxDD.so
-rwxr-xr-x 1 root root 180240 17. Dez 14:42 VBoxDDU.so
-rw-r--r-- 1 root root 2031616 17. Dez 14:39 VBoxEFI32.fd
-rw-r--r-- 1 root root 2031616 17. Dez 14:39 VBoxEFI64.fd
-rwxr-xr-x 1 root root 38520 17. Dez 14:42 VBoxGuestPropSvc.so
-r-s--x--x 1 root root 21728 17. Dez 14:42 VBoxHeadless
-rwxr-xr-x 1 root root 77840 17. Dez 14:42 VBoxHeadless.so
-rwxr-xr-x 1 root root 63240 17. Dez 14:42 VBoxKeyboard.so
-rwxr-xr-x 1 root root 768136 17. Dez 14:42 VBoxManage
-r-s--x--x 1 root root 9312 17. Dez 14:42 VBoxNetAdpCtl
-r-s--x--x 1 root root 21728 17. Dez 14:42 VBoxNetDHCP
-rwxr-xr-x 1 root root 40744 17. Dez 14:42 VBoxNetDHCP.so
-rwxr-xr-x 1 root root 134848 17. Dez 14:42 VBoxOGLhostcrutil.so
-rwxr-xr-x 1 root root 148888 17. Dez 14:42 VBoxOGLhosterrorspu.so
-rwxr-xr-x 1 root root 148192 17. Dez 14:42 VBoxOGLrenderspu.so
-rw-r--r-- 1 root root 5359 17. Dez 14:39 VBox.png
-rwxr-xr-x 1 root root 657328 17. Dez 14:42 VBoxREM.so
-rwxr-xr-x 1 root root 3299832 17. Dez 14:42 VBoxRT.so
-r-s--x--x 1 root root 21720 17. Dez 14:42 VBoxSDL
-rwxr-xr-x 1 root root 165064 17. Dez 14:42 VBoxSDL.so
-rwxr-xr-x 1 root root 3074 4. Feb 10:22 VBox.sh
-rwxr-xr-x 1 root root 45384 17. Dez 14:42 VBoxSharedClipboard.so
-rwxr-xr-x 1 root root 783680 17. Dez 14:42 VBoxSharedCrOpenGL.so
-rwxr-xr-x 1 root root 36376 17. Dez 14:42 VBoxSharedFolders.so
-rwxr-xr-x 1 root root 2191432 17. Dez 14:42 VBoxSVC
-rwxr-xr-x 1 root root 4394 17. Dez 14:39 VBoxSysInfo.sh
-rwxr-xr-x 1 root root 87120 17. Dez 14:42 VBoxTestOGL
-rwxr-xr-x 1 root root 7808 17. Dez 14:42 VBoxTunctl
-rwxr-xr-x 1 root root 1624072 17. Dez 14:42 VBoxVMM.so
-rwxr-xr-x 1 root root 224008 17. Dez 14:42 VBoxVRDP.so
-rwxr-xr-x 1 root root 7627136 17. Dez 14:42 vboxwebsrv
-rwxr-xr-x 1 root root 28904 17. Dez 14:42 VBoxXPCOMC.so
-rwxr-xr-x 1 root root 29248 17. Dez 14:42 VBoxXPCOMIPCD
-rwxr-xr-x 1 root root 1448112 17. Dez 14:42 VBoxXPCOM.so
-r-s--x--x 1 root root 23776 17. Dez 14:42 VirtualBox
-rw-r--r-- 1 root root 2965311 17. Dez 14:39 VirtualBox.chm
-rw-r--r-- 1 root root 621 17. Dez 14:39 virtualbox.desktop
-rwxr-xr-x 1 root root 4665288 17. Dez 14:42 VirtualBox.so
-rw-r--r-- 1 root root 411412 17. Dez 14:42 VMMGC.gc
-rw-r--r-- 1 root root 605120 17. Dez 14:42 VMMR0.r0
-rwxr-xr-x 1 root root 7944 17. Dez 14:42 VRDPAuth.so
-rwxr-xr-x 1 root root 6542544 17. Dez 14:42 webtest
I found the hint to configure with the switch --disable-hardening but I don't know where to put this in the PKGBUILD ;b
Offline
you can't do a thing with --disable-hardening since virtualbox_bin is already compiled.
Give what you have. To someone, it may be better than you dare to think.
Offline
I haven't had the problem too recently, but I haven't found how to stop it. It has happened to me several times. I just reinstall when it does happen and that fixes it for a while.
Offline
Yes, reinstalling solves it but I use virtualbox very often so reinstalling every day (or even multiple times a day) isn't a very good solution.
Offline
Yes, reinstalling solves it but I use virtualbox very often so reinstalling every day (or even multiple times a day) isn't a very good solution.
Are you still having this issue? I haven't had it happen in at least a week now and I normally run ~3 VMs at a time. Which virtualbox package are you using? Is it virtualbox_bin from AUR and have you updated it recently?
Offline