I tried to install virtualbox for the first time on my ubuntu 16.04 machine following the instructions here. When tried to run from terminal with command virtualbox
it gave me the error below:
VirtualBox: Error -610 in supR3HardenedMainInitRuntime!
VirtualBox: dlopen("/usr/lib/virtualbox/VBoxRT.so",) failed: <NULL>
VirtualBox: Tip! It may help to reinstall VirtualBox.
and when tried to run by searching virtualbox
an icon appeared in sidebar and after some seconds disappeared.
I tried downloading the official deb
file form the virtualbox website and install with sudo apt install ./virtual...
but the same error happened.
I also completely removed virtualbox with --purge
option and its user and group every time I tried to reinstall.
The interesting part is that it was easy to install the Virtualbox
on an ubuntu 16.04
hosted by another virtualbox on a windows
machine.
Any answer or comment would be appreciated.
Edit (Solved)
Thanks to Charles the problem solved by changing the owner and group of /usr
and /usr/lib
to root by the following commands:
sudo chown root:root /usr
sudo chown root:root /usr/lib
My problem was that I only changed the owner by sudo chown root /usr
.
ls -ld /usr && ls -ld /usr/lib
and append the results to your question? – Charles Green Aug 17 '17 at 20:06/usr
and/usr/lib
to someone who is notroot
? Remember not to do that again. – edwinksl Aug 18 '17 at 12:54