PDA

View Full Version : Install VirtualBox



Kalitime
2020-08-06, 11:27
Hello, I'm trying to install Virtualbox on the latest version of Kali that I downloaded 5 days ago.


I was able to install Virtualbox with the command
sudo apt-get install virtualbox




I was able to start VirtualBox with the command
sudo virtualbox




sudo virtualbox
[sudo] password for kali:
WARNING: The character device /dev/vboxdrv does not exist.
Please install the virtualbox-dkms package and the appropriate
headers, most likely linux-headers-amd64.


You will not be able to start VMs until this problem is fixed.
Qt WARNING: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'



When i try to install virtualbox-dkms with the code
sudo apt-get install virtualbox-dkms


sudo apt-get install virtualbox-dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
virtualbox-dkms is already the newest version (6.1.12-dfsg-3).
The following package was automatically installed and is no longer required:
libx265-179
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 613 not upgraded.



4190

How can i run VirtualBox without problem? Thank You :)

Kalitime
2020-08-08, 14:05
More info.


kali@kali:~$ systemctl status virtualbox.service● virtualbox.service - LSB: VirtualBox Linux kernel module
Loaded: loaded (/etc/init.d/virtualbox; generated)
Active: failed (Result: exit-code) since Sat 2020-08-08 13:05:56 EDT; 22s ago
Docs: man:systemd-sysv-generator(8)
Process: 2393 ExecStart=/etc/init.d/virtualbox start (code=exited, status=1/FAILURE)
kali@kali:~$