Idham,
I found a solution for our similar problem. It was so obvious it had to be one over looked. Using normal user privleges running as su:
First, if you've already downloaded the VM (ViurtualBox) you may have to uninstall it and re-download it again. Though I am not sure yet because this solution was done using only one instance/install of VM. (its up to you)
After you download the VM from Oracle selecting your specified infrastructure (either i386 or amd64) locate the folder it downloaded to and right click the application and go to properties, then permissions and enable the package to executable. You'll see a checkbox.
After enabling the package to execute, right-click the package again and extract it at the current location (or a location you wish). Then, again right-click the original package (not the newly created folder from extract) and open with 'Software Installer'. (you may have to locate this option) Software Installer will perfom the actions required to install the package.
Once Software Installer has finished installing VM, you can find it under Applications > System tools > Oracle VM VirtualBox.
If you've done everything correctly, you will get an error when you try to run VM by either selecting it from the menu or...from the command line:
Code:
os-13115@kali:~$ virtualbox
In the terminal type:
chown root.root /tmp
Code:
root@kali:/home/os-13115# chown root.root /tmp
chmod ug-s /tmp
Code:
root@kali:/home/os-13115# chmod ug-s /tmp
chmod 1777 /tmp
Code:
root@kali:/home/os-13115# chmod 1777 /tmp
/bin/ls -Id /tmp
Code:
os-13115@kali:~$ /bin/ls -Id /tmp
finall,
virtualbox
Code:
root@kali:/home/os-13115# virtualbox
You can also run VM as root or normal User once completed. To test logout as normal user and login as root and type: virtualbox in the terminal.
NOTE: if you get any error message, you can google how to fix it.