- [David] Now since I've been posting Kali
or Kali Linux, if you prefer videos,
I've been getting a lot of feedback.
I've also been getting a lot of questions,
a lot of people have been asking me,
David, I installed Kali but I can't login.
The password doesn't work per your video,
or per the documentation online.
So how do I log into the new virtual machine
if the password is incorrect?
Or how do I fix permissions issues?
I'm trying to install some software, but it doesn't work.
So I can log in, but I can't run software
such as apt-get update or something like that.
And actually, should be apt update today.
Old commands were apt-get now we use apt within Linux,
not just on Kali but on multiple Linux distributions.
So how do we solve the issue of permissions?
Another big issue that people have been encountering
is they install Kali Linux within a virtual machine
using VirtualBox or VMware Workstation player,
They boot it up but then they get an error
saying VT-X is not supported, there's some VT-x issue,
on their laptop.
So I'm going to show you how to resolve that issue
in this video as well.
Okay, so let's get started.
(soft music)
In this example, I've got three computers,
I've got a MacBook, which is running Kali Linux
or Kali Linux ,once again, if you prefer
within VMware Fusion, so it's already booted up.
I've also got two Windows computers;
one has an Intel Processor, the one on the left,
the other has a AMD Processor.
And I'm going to show you an issue
that a lot of people have encountered
when they try and boot up Kali Linux in VirtualBox
or in VMware Workstation player.
So I'm going to show you multiple issues in this video.
First one is a password problem,
second one is to do with root privileges,
and in third issue is how do you boot up the image,
if you get an error saying that virtualization
is not supported.
Now, before we continue, if you enjoy these types of videos,
please would you consider subscribing to my YouTube channel?
Please would you like this video,
and please click on the bell to get notifications.
That really does help me with the YouTube robots
or the YouTube algorithm.
So if you don't mind and you enjoy these types of videos,
please consider subscribing, liking
and clicking on the bell.
In this example, I'm running Kali Linux as a virtual machine
within VMware Fusion on my Mac,
default username is now kali, password is kali.
So, it's no longer root
and password of toor, root spelled backwards.
Default username is now kali password is kali.
This is explained on the Kali website.
There are two blog entries;the first one talks
about Kali Linux 2020 dot one release.
They also have this blog entry talking about Kali
using a Non-Root default User account.
In this blog entry 2020 dot one release,
we're told that root is no longer the default user account.
Root toor is now dead.
New username and password is kali,kali
or kali, kali, once again, if you prefer.
Another issue people are having is that
when they try and run a command, such as apt update,
it doesn't work.
Or apt install, and let's say some type of application,
it doesn't work.
We get this Permission denied error.
That's because we are not using a root account, by default.
We're using a Non-Root account, kali.
So what you need to do is use sudo.
Now this is the default, going forward with Kali,
but it's been like that for a long time on Ubuntu
and other Debian distributions.
It's recommended that you don't use root
for normal day to day use.
So Non-root account should be used.
And then you only escalate your privileges
if you want to or need to.
So default username is kali.
And now notice the command works.
This is once again very similar to other distributions
of Debian or Ubuntu as an example.
So now, if I want to install an application,
I need to type sudo apt install,
and let's install an application such as your yersinia.
Don't forget to use sudo when required.
So once again, don't forget default username is now kali,
default password is kali, it's no longer root.
You probably want to change your password,
so use password, specify your current password
and then specify your new password for your account.
Now we're told that the new password is too similar,
so I'll change it.
Probably require me to use a longer password than toor,
so I've got to use a different password to toor.
But I've now successfully updated my password.
Now you can, if you want to,
escalate your privileges to root.
The first thing I'm going to do is change the password
of the root account.
I'll specify the new password,
password has now been changed,
so what I can do is type su and put in my password,
and notice I'm now root@kali.
So you can escalate your privileges and become root
if you want to, but the default is to use the account kali,
password kali, it's recommended
that you change the password once again.
Okay, so let's have a look at the virtualization issue
that a lot of people have encountered.
I'll start with VirtualBox.
This is a Windows 10 laptop.
So windows 10, it's using an Intel processor.
Notice the problem that I get when I try and boot up
Kali Linux 2020 dot one on VirtualBox.
I get to this error, failed to open a session
for the virtual machine.
When I look at the details,
I'm told that not in our hypervisor partition,
VT-x is disabled in the BIOS for all CPU modes.
So the issue here is you need to have VT-x enabled
in the BIOS to be able to boot up a 64 bit virtual machine.
So I need to enable that in the BIOS of this computer.
If you encounter a similar issue,
you'll need to do the same thing,
I'll show you in a moment how to do that.
So that's an example with the VirtualBox
on an Intel processor.
Here's an example with VMware Workstation player.
So the same thing I'm going to try and boot up
this Kali Linux host.
and I get this error,
error while powering on: the host supports Intel VT-x,
but Intel VT-x is disabled.
Intel VT-x might be disabled if it has been disabled
in the BIOS firmware settings.
Or your host has not been power cycled
since you changed the setting.
We're then told how to fix this issue.
But rather than just trying to read this,
I'm going to show you how to do that.
Now that's an example on an Intel CPU.
Let's have a look at AMD.
So here's another laptop.
This example is running Windows eight on an AMD processor.
Similar kind of issue exists.
I'll start up a VirtualBox,
and I'll try and boot up The Kali Linux host.
Notice I get the same issue, failed to open a session
for the virtual machine.
Here we told that AMD-V is disabled in the BIOS,
or by the host operating system.
So once again in this example,
I'm not able to boot up Kali Linux because AMD-V
has been disabled in the BIOS of the laptop.
Now in this example, I've got an Asus laptop,
it's got an Intel CPU, and I've got an HP laptop
that's got an AMD CPU.
The process that you follow will vary
depending on the manufacturer.
So on Asus as an example, I need to reboot the laptop
and press F2 to go into the BIOS settings.
On HP I need to use F10 to go into the BIOS settings.
So refer to the documentation for your manufacturer
to determine which key you need to use to get into the BIOS
Or just use Google to do a search to find out
which key to use to get into the BIOS
for your specific laptop or computer.
So I'll now show you how to enable VT-x on a laptop
that has an Intel processor, as well as a laptop
that has an AMD processor.
Okay, so the first thing I need to do
is shut the laptop down.
So I'm going to click power ,shut down
to shut the computer down.
Laptop has been shut down.
Now because this is an Asus laptop,
I need to press power and F2,
so F2 will take me to the BIOS, and as you can see,
I'm now in the BIOS of the computer.
So they tell you which keystrokes to use.
So as an example, right arrow will take me
from one menu to the other.
So I've gone from the main menu to advanced
and what I want to enable is Intel Virtualization Technology
, at the moment, it's the disabled.
So I want to select that option, once again
using the arrow keys, go to Intel Virtualization Technology,
press Enter, and then specify Enabled.
So what I'm going to do now is use the right arrow key,
go to Save and Exit, make sure that I've selected
Save an Exit, press Enter, and then press Enter again
to save the configuration and exit.
laptop is now rebooted.
And now I can enter my PIN, and login.
And there you go.
I've logged into the laptop,
what I'm going to do now is start virtual box,
select Kali Linux and then go to Start to start it up.
And what you'll notice now is the virtual machine
can boot up successfully.
So there you go, Kali is booting, and I can now login,
default username is kali, password is kali, once again,
and I've successfully logged into this virtual machine
that's running on a Windows computer within the VirtualBox.
Same thing will happen with VMware Workstation,
select the virtual machine, power it on,
and I can once again boot up the virtual machine,
I can log in, default username kali, kali
and I'm able to login to this Kali virtual machine running
within VMware Workstation player on an Intel laptop.
Okay, so I'll do something similar on this computer
with an AMD processor, go to the Start menu,
I'll select power options, and I'll select Show Down,
to shut down the computer.
Computers are shutting down.
Okay, this is a HP laptop, so I need to use F10.
So I'll start the laptop press F10.
Okay, so something similar needs to be done here,
I'm going to go to System Configuration,
Virtualization Technology.
So Virtualization Technology is currently disabled,
what I need to do is press Enter, select Enabled,
press Enter, and then I need to exit
so save my configuration and exit.
Press Enter to save the changes, the laptop is now rebooted.
We can see that the HP laptop is booting up.
This is an older laptop so it's quite slow.
ka, I need to put my password in, press Enter to login.
I've now successfully logged in.
Okay, so I can start a VirtualBox.
I'll select my Kali Linux host,
and then I'll press start to start it up.
As you can see it's not booting up.
I can select Kali Linux or press Enter.
We can see that the virtual machine is booting,
once again, this is a slow laptop
so it's taking its time to boot up.
But there you go after a while it booted.
I can login with my username of kali, password of kali,
and I've successfully logged in to
this virtual machine which is running within a VirtualBox
on a computer with an AMD processor.
Okay, so I'm hoping that you've learned something
in this video.
If you have, please consider subscribing
to my YouTube channel, please like this video
and please click on the bell to get notifications.
I'm David Bombal and I want to wish you all the very best.
(soft music)