Kali Linux won't log in

Discussions about using Linux guests in VirtualBox.
Post Reply
Oge
Posts: 1
Joined: 9. Nov 2016, 09:24

Kali Linux won't log in

Post by Oge »

Hi all. I'm just a very basic Virtualbox user and got it just last week and have just been fixing stuff to get my VMs running. I was following the directions of an instructional video for Kali Linux and put in the following commands into the Linux terminal:

apt-get install virtualbox-guest-x11
apt-get update
apt-get upgrade

Now whenever I start the machine, it boots and gives me a red [FAILED] along with "Failed to start LSB: VirtualBox Linux Additions. See 'systemctl status virtualbox-guest-utils.service' for details"

After this, I'm directed to the log in screen, and this is where I'm having the problem. I use the username 'root' and password 'toor' to log in, and it resets the log in menu every time I try this. I'm not sure what to do, and I'm at my wits end. Am I missing something crucial?

I will try to specify or give any requested information needed to find a solution to this. All genuine help is appreciated. Thanks!
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Kali Linux won't log in

Post by socratis »

VirtualBox I'm afraid provides only the hardware emulation. It doesn't have usernames/passwords. You'd have to check where you downloaded your OS from.

For example, just last night, I downloaded a pre-made VDI from osboxes.org. The have already installed their OSes and they have already usernames/passwords. See http://www.osboxes.org/faqs/
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
BelJoost
Posts: 37
Joined: 12. Nov 2016, 18:35

Re: Kali Linux won't log in

Post by BelJoost »

Oge wrote:Failed to start LSB: VirtualBox Linux Additions. See 'systemctl status virtualbox-guest-utils.service' for details
Could it be you have to install the Guest Additions?

You could also try the pre-built VirtualBox Images:
https://www.offensive-security.com/kali ... -download/

btw. Is virtualization enabled in your (hardware's) bios?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Kali Linux won't log in

Post by Perryg »

The package you installed is not actually from VirtualBox. It is a distro specific fork of the guest additions. If you truly want to use it you will need to contact the package maintainer for instructions. At this point you will need to start the guest in a recovery console and remove the package before you proceed. In any case as you will need to at least be in a TTY window ( console mode ) to do anything. Then you can install the official guest additions which will fix your issue.
Post Reply