• \[SOLVED\] virtualbox does not work


    for installing virtualbox, i installed virtualbox, virtualbox-host-modules and virtualbox-host-dkms packages and added my user to vboxusers. virtualbox worked fine but needed to run “modprobe vboxdrv” command before i run it. so i installed dkms and used “systemctl enable dkms.service”. again i had the problem. using “systemctl status | grep dkms” i found that the dkms is not started because it linux-headers is not installed. i installed linus-headers and restarted the computer. now virtualbos starts, but when i start the hosted os (winxp), i get the message error:

    Failed to open a session for the virtual machine WinXP.  
    Failed to load VMMR0.r0 (VERR\_SUPLIB\_OWNER\_NOT\_ROOT).
    

    and the detail is:

      
    Result Code:   
    NS\_ERROR\_FAILURE (0x80004005)  
    Component:   
    Console  
    Interface:   
    IConsole {db7ab4ca-2a3f-4183-9243-c1208da92392}  
    
    

    i searched the web and found that most of people got this message because the owner of /usr/lib/virtualbox is not root, but for me it is correct.

    [[email protected] ~]$ ls -l /usr/lib/ | grep virtual  
    drwxr-xr-x 4 root root 4096 Jul 5 04:54 virtualbox  
    [[email protected] ~]$ ls -l /usr/lib/virtualbox/  
    total 49120  
    -rwxr-xr-x 1 root root 29440 Jul 5 04:54 DBGCPlugInDiggers.so  
    drwxr-xr-x 2 root root 4096 Jul 5 04:54 ExtensionPacks  
    -rwxr-xr-x 1 root root 6068 Jul 5 04:54 VBoxAuth.so  
    -rwxr-xr-x 1 root root 23360 Jul 5 04:54 VBoxAuthSimple.so  
    -rwxr-xr-x 1 root root 112872 Jul 5 04:54 VBoxBFE.so  
    -rwxr-xr-x 1 root root 127016 Jul 5 04:54 VBoxBalloonCtrl  
    -rwxr-xr-x 1 root root 1542252 Jul 5 04:54 VBoxDD.so  
    -rwxr-xr-x 1 root root 166020 Jul 5 04:54 VBoxDD2.so  
    -rw-r--r-- 1 root root 19241 Jul 5 04:54 VBoxDD2GC.gc  
    -rw-r--r-- 1 root root 21059 Jul 5 04:54 VBoxDD2R0.r0  
    -rw-r--r-- 1 root root 150768 Jul 5 04:54 VBoxDDGC.gc  
    -rw-r--r-- 1 root root 155340 Jul 5 04:54 VBoxDDR0.r0  
    -rwxr-xr-x 1 root root 378404 Jul 5 04:54 VBoxDDU.so  
    -rwxr-xr-x 1 root root 95460 Jul 5 04:54 VBoxDbg.so  
    -rwxr-xr-x 1 root root 39436 Jul 5 04:54 VBoxDragAndDropSvc.so  
    -rw-r--r-- 1 root root 1048576 Jul 5 04:54 VBoxEFI32.fd  
    -rw-r--r-- 1 root root 1048576 Jul 5 04:54 VBoxEFI64.fd  
    -rwxr-xr-x 1 root root 48140 Jul 5 04:54 VBoxExtPackHelperApp  
    -rwxr-xr-x 1 root root 14048 Jul 5 04:54 VBoxGuestControlSvc.so  
    -rwxr-xr-x 1 root root 27144 Jul 5 04:54 VBoxGuestPropSvc.so  
    -rwsr-xr-x 1 root root 24140 Jul 5 04:54 VBoxHeadless  
    -rwxr-xr-x 1 root root 99392 Jul 5 04:54 VBoxHeadless.so  
    -rwxr-xr-x 1 root root 13932 Jul 5 04:54 VBoxHostChannel.so  
    -rwxr-xr-x 1 root root 57512 Jul 5 04:54 VBoxKeyboard.so  
    -rwxr-xr-x 1 root root 802936 Jul 5 04:54 VBoxManage  
    -rwsr-xr-x 1 root root 8564 Jul 5 04:54 VBoxNetAdpCtl  
    -rwsr-xr-x 1 root root 24140 Jul 5 04:54 VBoxNetDHCP  
    -rwxr-xr-x 1 root root 29184 Jul 5 04:54 VBoxNetDHCP.so  
    -rwxr-xr-x 1 root root 152000 Jul 5 04:54 VBoxOGLhostcrutil.so  
    -rwxr-xr-x 1 root root 135576 Jul 5 04:54 VBoxOGLhosterrorspu.so  
    -rwxr-xr-x 1 root root 119460 Jul 5 04:54 VBoxOGLrenderspu.so  
    -rwxr-xr-x 1 root root 188052 Jul 5 04:54 VBoxPython.so  
    -rwxr-xr-x 1 root root 188084 Jul 5 04:54 VBoxPython2\_7.so  
    -rwxr-xr-x 1 root root 10260 Jul 5 04:54 VBoxREM.so  
    -rwxr-xr-x 1 root root 645136 Jul 5 04:54 VBoxREM32.so  
    -rwxr-xr-x 1 root root 857200 Jul 5 04:54 VBoxREM64.so  
    -rwxr-xr-x 1 root root 1277708 Jul 5 04:54 VBoxRT.so  
    -rwsr-xr-x 1 root root 24140 Jul 5 04:54 VBoxSDL  
    -rwxr-xr-x 1 root root 158028 Jul 5 04:54 VBoxSDL.so  
    -rwxr-xr-x 1 root root 2463088 Jul 5 04:54 VBoxSVC  
    -rwxr-xr-x 1 root root 47448 Jul 5 04:54 VBoxSharedClipboard.so  
    -rwxr-xr-x 1 root root 910584 Jul 5 04:54 VBoxSharedCrOpenGL.so  
    -rwxr-xr-x 1 root root 34608 Jul 5 04:54 VBoxSharedFolders.so  
    -rwxr-xr-x 1 root root 88976 Jul 5 04:54 VBoxTestOGL  
    -rwxr-xr-x 1 root root 2374836 Jul 5 04:54 VBoxVMM.so  
    -rwxr-xr-x 1 root root 5916 Jul 5 04:54 VBoxVMMPreload.so  
    -rwxr-xr-x 1 root root 1011016 Jul 5 04:54 VBoxXPCOM.so  
    -rwxr-xr-x 1 root root 36556 Jul 5 04:54 VBoxXPCOMC.so  
    -rwxr-xr-x 1 root root 26820 Jul 5 04:54 VBoxXPCOMIPCD  
    -rw-r--r-- 1 root root 581991 Jul 5 04:54 VMMGC.gc  
    -rw-r--r-- 1 root root 760675 Jul 5 04:54 VMMR0.r0  
    -rwsr-xr-x 1 root root 24284 Jul 5 04:54 VirtualBox  
    -rwxr-xr-x 1 root root 6879640 Jul 5 04:54 VirtualBox.so  
    drwxr-xr-x 2 root root 4096 Jul 5 04:54 components  
    -rwxr-xr-x 1 root root 118676 Jul 5 04:54 libvboxjxpcom.so  
    -rwxr-xr-x 1 root root 14031484 Jul 5 04:54 vboxwebsrv  
    -rwxr-xr-x 1 root root 10920116 Jul 5 04:54 webtest  
    
    
  • for installing virtualbox, i installed virtualbox, virtualbox-host-modules and virtualbox-host-dkms packages and added my user to vboxusers. virtualbox worked fine but needed to run “modprobe vboxdrv” command before i run it. so i installed dkms and used “systemctl enable dkms.service”. again i had the problem. using “systemctl status | grep dkms” i found that the dkms is not started because it linux-headers is not installed. i installed linus-headers and restarted the computer. now virtualbos starts, but when i start the hosted os (winxp), i get the message error:

    Failed to open a session for the virtual machine WinXP.  
    Failed to load VMMR0.r0 (VERR\_SUPLIB\_OWNER\_NOT\_ROOT).
    

    and the detail is:

      
    Result Code:   
    NS\_ERROR\_FAILURE (0x80004005)  
    Component:   
    Console  
    Interface:   
    IConsole {db7ab4ca-2a3f-4183-9243-c1208da92392}  
    
    

    i searched the web and found that most of people got this message because the owner of /usr/lib/virtualbox is not root, but for me it is correct.

    [[email protected] ~]$ ls -l /usr/lib/ | grep virtual  
    drwxr-xr-x 4 root root 4096 Jul 5 04:54 virtualbox  
    [[email protected] ~]$ ls -l /usr/lib/virtualbox/  
    total 49120  
    -rwxr-xr-x 1 root root 29440 Jul 5 04:54 DBGCPlugInDiggers.so  
    drwxr-xr-x 2 root root 4096 Jul 5 04:54 ExtensionPacks  
    -rwxr-xr-x 1 root root 6068 Jul 5 04:54 VBoxAuth.so  
    -rwxr-xr-x 1 root root 23360 Jul 5 04:54 VBoxAuthSimple.so  
    -rwxr-xr-x 1 root root 112872 Jul 5 04:54 VBoxBFE.so  
    -rwxr-xr-x 1 root root 127016 Jul 5 04:54 VBoxBalloonCtrl  
    -rwxr-xr-x 1 root root 1542252 Jul 5 04:54 VBoxDD.so  
    -rwxr-xr-x 1 root root 166020 Jul 5 04:54 VBoxDD2.so  
    -rw-r--r-- 1 root root 19241 Jul 5 04:54 VBoxDD2GC.gc  
    -rw-r--r-- 1 root root 21059 Jul 5 04:54 VBoxDD2R0.r0  
    -rw-r--r-- 1 root root 150768 Jul 5 04:54 VBoxDDGC.gc  
    -rw-r--r-- 1 root root 155340 Jul 5 04:54 VBoxDDR0.r0  
    -rwxr-xr-x 1 root root 378404 Jul 5 04:54 VBoxDDU.so  
    -rwxr-xr-x 1 root root 95460 Jul 5 04:54 VBoxDbg.so  
    -rwxr-xr-x 1 root root 39436 Jul 5 04:54 VBoxDragAndDropSvc.so  
    -rw-r--r-- 1 root root 1048576 Jul 5 04:54 VBoxEFI32.fd  
    -rw-r--r-- 1 root root 1048576 Jul 5 04:54 VBoxEFI64.fd  
    -rwxr-xr-x 1 root root 48140 Jul 5 04:54 VBoxExtPackHelperApp  
    -rwxr-xr-x 1 root root 14048 Jul 5 04:54 VBoxGuestControlSvc.so  
    -rwxr-xr-x 1 root root 27144 Jul 5 04:54 VBoxGuestPropSvc.so  
    -rwsr-xr-x 1 root root 24140 Jul 5 04:54 VBoxHeadless  
    -rwxr-xr-x 1 root root 99392 Jul 5 04:54 VBoxHeadless.so  
    -rwxr-xr-x 1 root root 13932 Jul 5 04:54 VBoxHostChannel.so  
    -rwxr-xr-x 1 root root 57512 Jul 5 04:54 VBoxKeyboard.so  
    -rwxr-xr-x 1 root root 802936 Jul 5 04:54 VBoxManage  
    -rwsr-xr-x 1 root root 8564 Jul 5 04:54 VBoxNetAdpCtl  
    -rwsr-xr-x 1 root root 24140 Jul 5 04:54 VBoxNetDHCP  
    -rwxr-xr-x 1 root root 29184 Jul 5 04:54 VBoxNetDHCP.so  
    -rwxr-xr-x 1 root root 152000 Jul 5 04:54 VBoxOGLhostcrutil.so  
    -rwxr-xr-x 1 root root 135576 Jul 5 04:54 VBoxOGLhosterrorspu.so  
    -rwxr-xr-x 1 root root 119460 Jul 5 04:54 VBoxOGLrenderspu.so  
    -rwxr-xr-x 1 root root 188052 Jul 5 04:54 VBoxPython.so  
    -rwxr-xr-x 1 root root 188084 Jul 5 04:54 VBoxPython2\_7.so  
    -rwxr-xr-x 1 root root 10260 Jul 5 04:54 VBoxREM.so  
    -rwxr-xr-x 1 root root 645136 Jul 5 04:54 VBoxREM32.so  
    -rwxr-xr-x 1 root root 857200 Jul 5 04:54 VBoxREM64.so  
    -rwxr-xr-x 1 root root 1277708 Jul 5 04:54 VBoxRT.so  
    -rwsr-xr-x 1 root root 24140 Jul 5 04:54 VBoxSDL  
    -rwxr-xr-x 1 root root 158028 Jul 5 04:54 VBoxSDL.so  
    -rwxr-xr-x 1 root root 2463088 Jul 5 04:54 VBoxSVC  
    -rwxr-xr-x 1 root root 47448 Jul 5 04:54 VBoxSharedClipboard.so  
    -rwxr-xr-x 1 root root 910584 Jul 5 04:54 VBoxSharedCrOpenGL.so  
    -rwxr-xr-x 1 root root 34608 Jul 5 04:54 VBoxSharedFolders.so  
    -rwxr-xr-x 1 root root 88976 Jul 5 04:54 VBoxTestOGL  
    -rwxr-xr-x 1 root root 2374836 Jul 5 04:54 VBoxVMM.so  
    -rwxr-xr-x 1 root root 5916 Jul 5 04:54 VBoxVMMPreload.so  
    -rwxr-xr-x 1 root root 1011016 Jul 5 04:54 VBoxXPCOM.so  
    -rwxr-xr-x 1 root root 36556 Jul 5 04:54 VBoxXPCOMC.so  
    -rwxr-xr-x 1 root root 26820 Jul 5 04:54 VBoxXPCOMIPCD  
    -rw-r--r-- 1 root root 581991 Jul 5 04:54 VMMGC.gc  
    -rw-r--r-- 1 root root 760675 Jul 5 04:54 VMMR0.r0  
    -rwsr-xr-x 1 root root 24284 Jul 5 04:54 VirtualBox  
    -rwxr-xr-x 1 root root 6879640 Jul 5 04:54 VirtualBox.so  
    drwxr-xr-x 2 root root 4096 Jul 5 04:54 components  
    -rwxr-xr-x 1 root root 118676 Jul 5 04:54 libvboxjxpcom.so  
    -rwxr-xr-x 1 root root 14031484 Jul 5 04:54 vboxwebsrv  
    -rwxr-xr-x 1 root root 10920116 Jul 5 04:54 webtest  
    
    
  • the problem is that /usr should have root ownership and probably virtualbox change it. i changed the ownership of /usr to root and the problem solved

Posts 3Views 1471
Log in to reply
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.