It's now easier than ever to install Kali Linux on Windows 11 using WSL2. // MENU // 0:00 ▶ Introduction 1:27 ▶ WSL installation 3:42 ▶ Ubuntu installation 4:17 ▶ Install Kali Linux 5:35 ▶ Install Kali Linux GUI using Win-Kex 7:15 ▶ Start WSL2 Kali Linux GUI // COMMANDS // In Windows Powershell: wsl --install In Kali WSL: sudo apt update sudo apt install -y kali-win-kex kex --win -s // DOCUMENTATION // Download link:www.microsoft.com/en-us/p/kali-linux/9pkr34tncv07 Kali WSL Documentation: www.kali.org/docs/wsl/ // SOCIAL // Discord: discord.com/invite/usKSyzb Twitter: twitter.com/davidbombal Instagram: instagram.com/davidbombal LinkedIn: www.linkedin.com/in/davidbombal Facebook: facebook.com/davidbombal.co TikTok: tiktok.com/@davidbombal TH-cam: th-cam.com/users/davidbombal // MY STUFF // Monitor: amzn.to/3yyF74Y More stuff: www.amazon.com/shop/davidbombal // SPONSORS // Interested in sponsoring my videos? Reach out to my team here: sponsors@davidbombal.com Disclaimer: This video is for educational purposes only. I own all equipment used for this demonstration. No actual attack took place on any websites. Only use the tools demonstrated in this video on networks you have permission to attack. Please note that links listed may be affiliate links and provide me with a small percentage/kickback should you use them to purchase any of the items listed or recommended. Thank you for supporting me and this channel!
sir my wsl -- install thing is not working that installing text is not coming, it says "A connection with the server could not be established". What should i do?
YOU JUST SAVED ME FROM THE ON GOING HEADACHE OF STRUGGLING TO FIND THE GUI COMAND ON MY LAPTOP 🎉🎉🎉Thank you for this amazing video Sir! Now, I just hope my TP Link antenna will connect like it’s supposed to.
David, without this Video, i doubt i would now have Kali Linux & Ubuntu running on my Win11 64bit Laptop, Thanks for your dedication, time, and your superb way of putting it across, for grassroots starters like myself. All made possible by Copy/Paste the Command prompts you kindly put in your Description. Absolute Legend! Look forward to joining & supporting your Channel, Subbed & Likes all the way! 💯👌👍
@@backoffu just keep in mind that this doesn't install all the pen testing software that comes with Kali. However on the Kali website I found an "everything" command that installs all of those goodies. Took a little bit of time but worked great
@@CurrencyTrader1980 Yo brotha, its alerady been 5 months and whats your experience with kali on wsl2? Does everytin work on it? Is there any drawbacks that you found? I wanna get this clarified.
Hello David! I got Kali (with the GUI) up and running using this tutorial! I had to launch Kex just with "Kex" command to get my sound to work, but thank you for this great content!
Got damn I got sound by just running (kex), vs running (kex --win -s) Now I need to know what benefit am I given up for just running (kex) Also I see this is a old post, do you have any info on enabling networkmanager? Also thanks for the kex tip, 1 think I don't have to keep trying to fix, very stressing thanks for that.
David - your Videos Are Very Helpful And Great Without This Video I cannot Download Kali Linux like A virtual Machine and i liked And Subbed thanks for This Helpful Video
thank you soooo much !!!! i have followed other tutorials on how to get kali linux but they never worked, but this tutorial worked Thank you sooooooo much!!!!! omg
The big downside I have found by doing this is you can't attach a wifi device directly to the Kali instance. So there is no monitor mode for wifi hacking. I didn't try hashcat but I suspect you can't access the GPU either. Seems more limited than a real VM to me. I ended up just bare metal install of Kali and am very happy with that.
U cant bridge network cards and take snapshots. Wsl is good for devs i think.
2 ปีที่แล้ว +3
You can attach usb devices to wsl now. I was able to attach and list mine with lsusb but i couldn't yet list it in network devices. It might be possible.
Windows 11 had a lot of ease of use/quality of life upgrades for WSL2. I’ve enjoyed it so far as Windows is easier for a daily driver but being able to use kali for a few security/networking utilities and Ubuntu that I have built for managing a few raspberry pi projects.
@@mahdi-hasan Should be a similar process to this video, probably even a little simpler. Though this isn't the only option either. I've followed a few videos on getting linux guis on windows, though I found that for my needs I rarely need more than a terminal so I don't use it much anymore.
@@alexismajaw9120 that’s a bit too broad of a question, but yes it is possible to use this feature for penetration testing or unconventional access. If you do wish to test offensive security features, just remember that it is not legal or ethical to access, copy or modify files when you do not have permission.
Great video sir !!! 1. But will it come with all the functions that Kali has inbuilt in it 2. Which is better having a virtual machine with Kali installed in it or using this way of install it with WSL
Sir. I entered wrong re-enter password 5:20 in kali linux and i uninstalled it and i closed that window ,again i opened .But kali linux from microsoft store its not installing....😕
Thank you so much, David!! I've been having some issues running Kali-Linux in my VirtrualBox & instead i just rather went to use the kex --win -s command which has Kalki-Linux up and running in now time! Thank you sir!! "Never gonna give you up never gonna let you down!!" Q U A L I T Y !!!
I followed your video to the letter on how to install kali Linux on windows 11 but I keep getting an error, when I type in kex to run it and or says that it was "unable to connect to socket: no connection could be made because the target machine actively refused it. (10061)" I find your videos very educational and informative so I only ask that you don't disregard the people that you're trying to teach and inform about this kind of digital engineering.
@@V1truvius I didn't, I can only seem to run it on Seamless mode. Windowed mode just won't work for me at all. Would love to know the fix. I tried so many things, creating my own VNC uninstalling and reinstalling.. just couldn't get it to work
i am also facing same issue , i am using latest version on Windows 11 Home and a brand new laptop , followed the instructions but not bale to get Kali Linux GUI mode
That’s really great method to install kali, easy and practical. Totally better than having it on vms. One question, does it support the built-in network adapter out of the box? Or should we also use an external adapter.
What your sorry ass doesn't realise is that this is an experiment, nothing more. It doesn't have hardware access. You can't assign external WiFi cards to it. These are just useless gimmicks. The best and the recommended method will always be to use Kali in a VM or bare metal. Not like this.
I get this error every time, even though I did the following instructions: "Error connecting to the KeX server. Please try "kex start" to start the service. If the server fails to start, please try "kex kill" or restart your WSL2 session and try again."
thank u but the start gui wont start everything els went exactly as urs but when try to run it wont work!! it shows error cant connect kex server failed to connect to port 127.0.1:1": unable to connect to socket: no connection could not be made because the target machine actively refused it (10061)
What i found that was interesting about wsl2 is that with vcxsrv you can directly run linux apps and any gui straight within windows. Say you wanted to use Dolphin your default file explorer. You can, because your drives are in /mnt/. It takes some tweaking for those apps to actually run though (Ex. using a shell script to run exe files). But you could totally run i3wm or something else as your shell program. It would need a lot of tweaking to, say, show opened apps, but it would probably work fine. There needs to be a project set up to have a Parallels-like experience with linux on windows. That would be cool.
can somebody help me in 5:10 when i opened kali linux there was not "kali linux rolling" i was straight in the terminal with a root account, and now my linux is running with a root account, how can i fix that ?
this is amazing. im a wrinkly old IT guy. putting kali INTO windows as an app is INSANE. as of today i cant get this to work - i click on "GET" and it wont work. (but ubuntu is fine).
Very glad to have found this video tutorial.. Very interesting and informative video, David. I currently run Kali on virtual box. Which install do you think is more beneficial for a new cybersecurity student?
being a compatibility layer, wsl is mutch lighter than a VM being so able to run at native performance. as far as the choice goes i'm not confortable daily driving kali as wsl instance because being nat-ed, wsl is not exposet to the net and trafic is routed through windows which makes port forwarding the only painful option. so until bridged networking is added you cannot reach back kali (see basic reverse shell as an example) without the painful and "error" prone port forwarding and is not really straight forward if you are a beginner or need to make work done efficiently
It ran great up to the point I typed kali --win -s and I got a pop up saying " tigervnc viewer unable to connect to socket no connection could be made because the target machine actively refused it (10061)" and it gave me a weird IP address and I cant seem to figure this issue out so I went back to running a vm the old fashioned way :( I tried it on both of my laptops and my desktop and my desktop is a threadripper 3990wx with a 3080ti and 64gb of ram so it's not the pc haha its something about the connection it tried to make.. I found on my older laptop I had to go into wsl 1 instead of wsl 2. To even get it to work but same outcome on all three machines regardless of wsl mode 1 or 2
Did you get the large install of Kali? The Kali documentation in Kali's website shows how to install the optional large version. It is just a simple command. sudo apt install -y kali-linux-large. I believe the large version of Kali has more tools. I have Kali on Windows 10 with WSL2 and was able to install the large version of Kali.
I have installed the GUI of kali linux and it was great. I am getting some problem while uninstalling this can anyone help me to uninstall this or suggest any video on how to uninstall
Hi its a while a go since u uploaded this vid but when im installing like you in 6:59 the comes an error which says error while cleaning up and unable to create New file
Finally got mines installed just getting into networking I find your videos highly educative and informative thanks a lot for the content I just wanted to ask how long it takes to get Cisco networking certificate and how helpful will it be in terms of getting job of do I need to focus on cyber security or actual programming
Going to come back to this video! I watched you previous video before to get ubuntu up and running. It really helped me at uni. I was going to ask you, is it better I just uninstall vmware and follow this process instead? - Also, if I do it the new way you showed, can I just create and delete these VM`s too at ease?
When you get the error that it can't connect to the Kex server just run these 2 commands in KALI and try again, fixed it for me. (Thank you mechDeveloper at StackOverflow) sudo mount -o remount,rw /tmp/.X11-unix sudo kex restart
Thank you so much man. I been trying to get it to work for two days following every reddit/stackoverflow/forum posts recommendation and this is what made it finally work
Thank you so much, David, for the great tutorial. I love it. I tried exactly the way you have instructed in your tutorial on my Windows 11 Pro laptop. When I typed the kex command that you have shown it just goes back to the command prompt after an error message that says -bash: kex: command not found What am I not doing right? Thanks for your time!
It's not working. WSL is not installing instead of that it showing as "The connection with the server was terminated abnormally". Could u please help me regarding this ?
i have one problem.... actually i was following all your guidance in this video but due to one mistake i have ruined everything ....while installing ubuntu suddenly it had stopped at 25% so, by mistake i had closed the powershell and when i had tried to open it asked for restart and i did but when i open powershell again i find nothing had downloaded and even wsl --install command is not working , instead some guidance mannual and flag gets opened and even though i had diownload and installed ubuntu using wsl --install -d ubuntu and it had worked but when i downloaded kali linux from ms app and used uname -a then it had shown command not found ....how can i fix all....i hope it have presented my problem in clear way....please guide me...
Love the video! But I have been wondering, is wsl as «safe» as a traditional virtual maskin? What is the ups and downs compared to a traditional virtual maskin?
Did any of you run to this error, and has solution for it: Error connecting to the KeX server. Please try "kex start" to start the service. If the server fails to start, please try "kex kill" or restart your WSL2 session and try again. P.S Great video I love your stuff
Have you updated WSL via the command line? If not, open CMD with admin privileges & type: wsl -update It’s 2 dashes for people on looking at this comment on iOS…
maybe a small update but it could be that you cannot update kali. Check /etc/resolv. conf (with nano) and change it to your DNS server or public one. futher a nice update. As always. like your posts a lot.
Hello, great video, just one question... have you ever used metasploit in this kali over wsl? I was trying to use it some weeks ago and i could initialize the database so i could not do nothing and i went back to my kali partition jeje 😅
Great video! It's there a way to make WSL and Vmware work together in the same pc? I've read that hyper-V installed with the wsl2 goes in conflict with the virtualization of vmware
You can, I run both. Before starting your VMware VMs, you have to go to Processors under Settings and uncheck the two options under Virtualization Engine.. this is with the paid version of VMware
So, I had issues with virtualbox 6.1.28 after enabling virtual engine in the BIOS. Many others did, too. I believe it is fixed in v-box 6.1.32, but I fixed mine differently. On the Oracle help threads, there are 2 threads dedicated to the issue. At the time, I had the error code available to me and was able to search help that way (I don't remember the error code), but the fix was a 1 line command in cmd (again, I don't remember). My point is, I believe it's totally doable, and if it doesn't work, there is a lot of help on Oracles site (if you're using virtualbox, not VMware). What I'm wondering is if I need to update my WSL installation to WSL2 somehow, or if it would have done that in the background. Also, if WSL2 could have an impact on NPCAP, (for packet capturing via Wireshark or snort).
Could you make a tutorial, or indicate one of how to configure Win-KeX SL correctly? I looked in several places, but I didn't find any that worked correctly.
It's now easier than ever to install Kali Linux on Windows 11 using WSL2.
// MENU //
0:00 ▶ Introduction
1:27 ▶ WSL installation
3:42 ▶ Ubuntu installation
4:17 ▶ Install Kali Linux
5:35 ▶ Install Kali Linux GUI using Win-Kex
7:15 ▶ Start WSL2 Kali Linux GUI
// COMMANDS //
In Windows Powershell:
wsl --install
In Kali WSL:
sudo apt update
sudo apt install -y kali-win-kex
kex --win -s
// DOCUMENTATION //
Download link:www.microsoft.com/en-us/p/kali-linux/9pkr34tncv07
Kali WSL Documentation: www.kali.org/docs/wsl/
// SOCIAL //
Discord: discord.com/invite/usKSyzb
Twitter: twitter.com/davidbombal
Instagram: instagram.com/davidbombal
LinkedIn: www.linkedin.com/in/davidbombal
Facebook: facebook.com/davidbombal.co
TikTok: tiktok.com/@davidbombal
TH-cam: th-cam.com/users/davidbombal
// MY STUFF //
Monitor: amzn.to/3yyF74Y
More stuff: www.amazon.com/shop/davidbombal
// SPONSORS //
Interested in sponsoring my videos? Reach out to my team here: sponsors@davidbombal.com
Disclaimer: This video is for educational purposes only. I own all equipment used for this demonstration. No actual attack took place on any websites. Only use the tools demonstrated in this video on networks you have permission to attack.
Please note that links listed may be affiliate links and provide me with a small percentage/kickback should you use them to purchase any of the items listed or recommended. Thank you for supporting me and this channel!
This is great, but will it work as intended or will it work as same as VirtualBox kali or will there be any complications running kali this way
Thanks David for sharing the video. My question is : is it possible to install other distro than kali?
I followed the whole process and successfully installed kali. But in kex network manager is not running and I'm unable to connect to any network
sir my wsl -- install thing is not working that installing text is not coming, it says "A connection with the server could not be established". What should i do?
WslRegisterDistribution failed with error: 0x80004005
Error: 0x80004005 Unspecified error
i got this
David - your videos are so helpful. Greatly appreciate all that you do to support noobies getting up to speed with hands-on work.
I’m trying this on my Windows 11 tomorrow when I get to work. Thanks for the never ending knowledge Sir.
YOU JUST SAVED ME FROM THE ON GOING HEADACHE OF STRUGGLING TO FIND THE GUI COMAND ON MY LAPTOP 🎉🎉🎉Thank you for this amazing video Sir! Now, I just hope my TP Link antenna will connect like it’s supposed to.
David, without this Video, i doubt i would now have Kali Linux & Ubuntu running on my Win11 64bit Laptop, Thanks for your dedication, time, and your superb way of putting it across, for grassroots starters like myself. All made possible by Copy/Paste the Command prompts you kindly put in your Description.
Absolute Legend! Look forward to joining & supporting your Channel, Subbed & Likes all the way! 💯👌👍
Love this tutorial! Got Kali installed on my Windows 10 machine using these steps. Super easy. Thanks David!
You answered my question. I'm going to try it on my computer
@@backoffu just keep in mind that this doesn't install all the pen testing software that comes with Kali. However on the Kali website I found an "everything" command that installs all of those goodies. Took a little bit of time but worked great
@@CurrencyTrader1980 Yo brotha, its alerady been 5 months and whats your experience with kali on wsl2? Does everytin work on it? Is there any drawbacks that you found? I wanna get this clarified.
@@RealHello I've had no issues whatsoever. I would definitely recommend it
@@CurrencyTrader1980 Oh, thanks for your clarification.
Darnit David!!!! I watch your channel; all the time but you finally hooked me with this!
Hello David! I got Kali (with the GUI) up and running using this tutorial! I had to launch Kex just with "Kex" command to get my sound to work, but thank you for this great content!
my sound aint working how can i fix it
@@yongshengowo8325 bro my sound also don't working have you fixed That ?
@@abhishek_.v there is a pulse audio exe which you have to give it administrator perms
Got damn I got sound by just running (kex), vs running (kex --win -s) Now I need to know what benefit am I given up for just running (kex) Also I see this is a old post, do you have any info on enabling networkmanager? Also thanks for the kex tip, 1 think I don't have to keep trying to fix, very stressing thanks for that.
This is the first video i watched from your channel,it really helped! I'm subscribing.
1:21 gotta appreciate goldfish wearing shark fin painting, thanks for the reminder david👍🏻
Excellent tutorial. I am now up and running and learning Kali!
David - your Videos Are Very Helpful And Great Without This Video I cannot Download Kali Linux like A virtual Machine and i liked And Subbed thanks for This Helpful Video
Your TH-cam King mannnnnn ,🥰🥰🥰🥰🥰
Thank you very much!
*You're
This channel is pure gold. Thank you!
thank you soooo much !!!! i have followed other tutorials on how to get kali linux but they never worked, but this tutorial worked Thank you sooooooo much!!!!! omg
That is one of the coolest vids I have watched in a *LONG* time. Thank you
Thank you. I am learning so much practical knowledge from your channel. Well done, sir!
The big downside I have found by doing this is you can't attach a wifi device directly to the Kali instance. So there is no monitor mode for wifi hacking. I didn't try hashcat but I suspect you can't access the GPU either. Seems more limited than a real VM to me. I ended up just bare metal install of Kali and am very happy with that.
I had the same issue it won’t pick up usb Wi-Fi
Yep
U cant bridge network cards and take snapshots. Wsl is good for devs i think.
You can attach usb devices to wsl now. I was able to attach and list mine with lsusb but i couldn't yet list it in network devices. It might be possible.
I was just going to ask about this after playing around with this VM version. I guess I'll just go ahead and duel-boot for kali.
Windows 11 had a lot of ease of use/quality of life upgrades for WSL2. I’ve enjoyed it so far as Windows is easier for a daily driver but being able to use kali for a few security/networking utilities and Ubuntu that I have built for managing a few raspberry pi projects.
Can I get ubuntu gui in wsl?
@@mahdi-hasan Should be a similar process to this video, probably even a little simpler. Though this isn't the only option either. I've followed a few videos on getting linux guis on windows, though I found that for my needs I rarely need more than a terminal so I don't use it much anymore.
can we hack with this?
@@alexismajaw9120 that’s a bit too broad of a question, but yes it is possible to use this feature for penetration testing or unconventional access. If you do wish to test offensive security features, just remember that it is not legal or ethical to access, copy or modify files when you do not have permission.
Great video sir !!!
1. But will it come with all the functions that Kali has inbuilt in it
2. Which is better having a virtual machine with Kali installed in it or using this way of install it with WSL
Have you got the answer?
Sir. I entered wrong re-enter password 5:20 in kali linux and i uninstalled it and i closed that window ,again i opened .But kali linux from microsoft store its not installing....😕
Very nice. Much easier than the remote desktop method you posted before.
This is easy to understand and now the frustration is gone ty so much better than Virtual box!!!!
Wow, did everything you said, 10061, what up, nothing I do, reinstalled, nope, easy as that eh... your the man
Did you reinstalled it when it said it was unable to connect to socket??
How did you do it?? 10061 keeps popping up
You Helped Me A Lot I was Facing A Lot Of Problems while doing this at my own, but you helped me a lot
Nice Rick Roll, real smooth.
Thank you 😂
What rick roll?
Great video 😃. You rickrolled us 😂.
No he didnt rickroll us
This deserves more views the king of YT love from India 😊😊😊
If you're facing no sound problem in Kali, open the win-kex mode like kex --win -sound
bro you saved my life i've been trying for hours to get the sound working, thank you so much, i didn't think it would have been this easy to fix 😭
@@Mattia_wa_utsu_desu Glad I could help!
Thanks a lot , lots of love
Bro what do you mean I'm so confused
@@Anoymous_user2 instead of typing -win -s you type --win -sound
Thank you so much, David!! I've been having some issues running Kali-Linux in my VirtrualBox & instead i just rather went to use the kex --win -s command which has Kalki-Linux up and running in now time! Thank you sir!! "Never gonna give you up never gonna let you down!!" Q U A L I T Y !!!
Holy crap I knew I could do this but wasn't sure how to. thanks love your videos
Thanks David. This is one of the best videos to get started with Linux os i really appreciate for the work
Great video, never delete it.
It was so excellent.
Thanks! Its very informative and i love the way you say "GUI"
I followed your video to the letter on how to install kali Linux on windows 11 but I keep getting an error, when I type in kex to run it and or says that it was "unable to connect to socket: no connection could be made because the target machine actively refused it. (10061)" I find your videos very educational and informative so I only ask that you don't disregard the people that you're trying to teach and inform about this kind of digital engineering.
@bighandsharry same, did you find a fix? I've tried to change DNS server but still same error
@@V1truvius I didn't, I can only seem to run it on Seamless mode. Windowed mode just won't work for me at all. Would love to know the fix. I tried so many things, creating my own VNC uninstalling and reinstalling.. just couldn't get it to work
Any fix for this yet?
i am also facing same issue , i am using latest version on Windows 11 Home and a brand new laptop , followed the instructions but not bale to get Kali Linux GUI mode
I am new to kali but it is easy as i go through your video thanq so much sir
That’s really great method to install kali, easy and practical. Totally better than having it on vms. One question, does it support the built-in network adapter out of the box? Or should we also use an external adapter.
What your sorry ass doesn't realise is that this is an experiment, nothing more. It doesn't have hardware access. You can't assign external WiFi cards to it. These are just useless gimmicks. The best and the recommended method will always be to use Kali in a VM or bare metal. Not like this.
Same question, as iwconfig, ifconfig or lspci do no detect wlan0
@@yairkaz still waiting for david's answer
tq sir i just now saw you vid and install the app tq for your gud work keep it up love from india
Thank you so much David! Now I can use Kali Linux without dual booting it!
The only guy that tells you the real truth respect DAVID
Bro knew what he was doing when he did that rick roll.
I get this error every time, even though I did the following instructions:
"Error connecting to the KeX server.
Please try "kex start" to start the service.
If the server fails to start, please try "kex kill" or restart your WSL2 session and try again."
Than do what it says 😂
Thank you for making this David!
thank u but the start gui wont start everything els went exactly as urs but when try to run it wont work!! it shows error cant connect kex server failed to connect to port 127.0.1:1": unable to connect to socket: no connection could not be made because the target machine actively refused it (10061)
THANK YOU SO MUCH i was trying to do this and i kept having errors youre so helpfull
thanks a lot! this solves a lot bringing a USB with kali preloaded, partitioning disks.
GUI is what I needed.....yesssss!!
Hope you find the video helpful 😀
Thank you so much. This was so simple and so useful. i appreciate it for sure
Thank you very much sir! i have now Kali and with sound now!!!
excellent video David !! big thanks..
Awesome video mate!
thank you so much for help i have trying from 6 days and finally i got
Woooooow ❤❤❤❤❤ only this reason can lead me to update my windows to version 11
This is supported in Windows 10. Prerequisites: You must be running Windows 10 version 2004 and higher (Build 19041 and higher) or Windows 11.
What i found that was interesting about wsl2 is that with vcxsrv you can directly run linux apps and any gui straight within windows. Say you wanted to use Dolphin your default file explorer. You can, because your drives are in /mnt/. It takes some tweaking for those apps to actually run though (Ex. using a shell script to run exe files). But you could totally run i3wm or something else as your shell program. It would need a lot of tweaking to, say, show opened apps, but it would probably work fine. There needs to be a project set up to have a Parallels-like experience with linux on windows. That would be cool.
Works for me..
can somebody help me in 5:10 when i opened kali linux there was not "kali linux rolling" i was straight in the terminal with a root account, and now my linux is running with a root account, how can i fix that ?
just tell me David how many time are you gonna "RICK ROLL" us 😂
Great content btw
this is amazing. im a wrinkly old IT guy. putting kali INTO windows as an app is INSANE. as of today i cant get this to work - i click on "GET" and it wont work. (but ubuntu is fine).
Very glad to have found this video tutorial.. Very interesting and informative video, David. I currently run Kali on virtual box. Which install do you think is more beneficial for a new cybersecurity student?
Very nice, but what is the last command you input to start kex at 9:50, because their is nice image ;o) blocking the view
what I found interesting the most is that David successfully rick roller 270k people, big up king
lol... got to have some fun! :)
Thank you David for this info!
But what is the benefit of use WSL instead of VM?
I've been trying to wrap my head around that same question. The benefit of WSL over VM . 🤔
being a compatibility layer, wsl is mutch lighter than a VM being so able to run at native performance. as far as the choice goes i'm not confortable daily driving kali as wsl instance because being nat-ed, wsl is not exposet to the net and trafic is routed through windows which makes port forwarding the only painful option. so until bridged networking is added you cannot reach back kali (see basic reverse shell as an example) without the painful and "error" prone port forwarding and is not really straight forward if you are a beginner or need to make work done efficiently
It ran great up to the point I typed kali --win -s and I got a pop up saying " tigervnc viewer unable to connect to socket no connection could be made because the target machine actively refused it (10061)" and it gave me a weird IP address and I cant seem to figure this issue out so I went back to running a vm the old fashioned way :( I tried it on both of my laptops and my desktop and my desktop is a threadripper 3990wx with a 3080ti and 64gb of ram so it's not the pc haha its something about the connection it tried to make.. I found on my older laptop I had to go into wsl 1 instead of wsl 2. To even get it to work but same outcome on all three machines regardless of wsl mode 1 or 2
watching from a Kali vm in windows, beautiful
haha love the picture behind you ! :D
Did you get the large install of Kali? The Kali documentation in Kali's website shows how to install the optional large version. It is just a simple command. sudo apt install -y kali-linux-large. I believe the large version of Kali has more tools. I have Kali on Windows 10 with WSL2 and was able to install the large version of Kali.
worked flawlessly on windows 10 too! if you meet prereq ofc
Hi David, just subscribed...
Is Kali WSL secure to use?
Are any features limited on it?
If it isn't as secure as a VM, can I make it secure?
I have installed the GUI of kali linux and it was great.
I am getting some problem while uninstalling this
can anyone help me to uninstall this or suggest any video on how to uninstall
By chance does anyone know why I'm getting a TigerVNC 127.0.0:1 error when attempting to run Kali?
Hi its a while a go since u uploaded this vid but when im installing like you in 6:59 the comes an error which says error while cleaning up and unable to create New file
Thank you David Bombal, from senegal🇸🇳
Thank you! And welcome Senegal!
Finally got mines installed just getting into networking I find your videos highly educative and informative thanks a lot for the content I just wanted to ask how long it takes to get Cisco networking certificate and how helpful will it be in terms of getting job of do I need to focus on cyber security or actual programming
Thank you so muchhh I watched a bunch of videos and nun of them worked on windows home🤦🏽♂️
subscribed. this was great. thank you
Going to come back to this video! I watched you previous video before to get ubuntu up and running. It really helped me at uni. I was going to ask you, is it better I just uninstall vmware and follow this process instead? - Also, if I do it the new way you showed, can I just create and delete these VM`s too at ease?
When you get the error that it can't connect to the Kex server just run these 2 commands in KALI and try again, fixed it for me. (Thank you mechDeveloper at StackOverflow)
sudo mount -o remount,rw /tmp/.X11-unix
sudo kex restart
Thank you so much man. I been trying to get it to work for two days following every reddit/stackoverflow/forum posts recommendation and this is what made it finally work
Thanks Torren! it worked!!
Thank u from Czech Republic,finally after 2hours of researching it works.
bro the fact that David just rickrolled us by teaching us
When I install the Win-Kex this happens:
E: Unable to locate package kali-win-kex
Does anyone know how to solve this issue?
Your TH-cam King mannnnnn 🥰🥰🥰🥰🥰
Thank you!
Thank you so much, David, for the great tutorial. I love it. I tried exactly the way you have instructed in your tutorial on my Windows 11 Pro laptop. When I typed the kex command that you have shown it just goes back to the command prompt after an error message that says -bash: kex: command not found What am I not doing right? Thanks for your time!
Do you fix it?
who do youn want to hack sir?
Thank you much appreciated got a new subscriber.
It's not working.
WSL is not installing instead of that it showing as "The connection with the server was terminated abnormally".
Could u please help me regarding this ?
Het jou gesien op Noobs podcast saam network chuck .. will have a look at you videos . Cool to see South African at almost 1M subs . Keep up good work
Baie Dankie Ryno!
Great 👍! Thanks so much David ❤️
Works great - would love to see how to set up Ubuntu desktop in a similar way.
i have one problem.... actually i was following all your guidance in this video but due to one mistake i have ruined everything ....while installing ubuntu suddenly it had stopped at 25% so, by mistake i had closed the powershell and when i had tried to open it asked for restart and i did but when i open powershell again i find nothing had downloaded and even wsl --install command is not working , instead some guidance mannual and flag gets opened and even though i had diownload and installed ubuntu using wsl --install -d ubuntu and it had worked but when i downloaded kali linux from ms app and used uname -a then it had shown command not found ....how can i fix all....i hope it have presented my problem in clear way....please guide me...
Professional grade videos, thank you!
thanks for upload this video... it's help lots of people...
You're welcome!
Thank You for the knowledge passing out here.
Is it not tracable back to the HOST --> I mean, is it not tracable back to the Windows PC
Love the video! But I have been wondering, is wsl as «safe» as a traditional virtual maskin?
What is the ups and downs compared to a traditional virtual maskin?
Did any of you run to this error, and has solution for it:
Error connecting to the KeX server.
Please try "kex start" to start the service.
If the server fails to start, please try "kex kill" or restart your WSL2 session and try again.
P.S
Great video I love your stuff
Have you updated WSL via the command line? If not, open CMD with admin privileges & type:
wsl -update
It’s 2 dashes for people on looking at this comment on iOS…
@@josemembreno4996 thanks for your reply, but i solved my problem with windows update, my windows build version didn't support wsl.
maybe a small update but it could be that you cannot update kali.
Check /etc/resolv. conf (with nano) and change it to your DNS server or public one.
futher a nice update. As always. like your posts a lot.
Hello, great video, just one question... have you ever used metasploit in this kali over wsl? I was trying to use it some weeks ago and i could initialize the database so i could not do nothing and i went back to my kali partition jeje 😅
Thank you very much. It worked 🎉
Wow man awesome i didnt know something like that exists
I've been rickrolled many times in the past, never thought I'd ever see David rickroll me.
lol... glad I managed to get you 😂
bang david bombal terima kasih atas videonya yang sangat bermanfaat. ini sangat membantuku
Great video! It's there a way to make WSL and Vmware work together in the same pc? I've read that hyper-V installed with the wsl2 goes in conflict with the virtualization of vmware
Can't do both with WSL2 installed, hyper-v enabled.
You can, I run both. Before starting your VMware VMs, you have to go to Processors under Settings and uncheck the two options under Virtualization Engine.. this is with the paid version of VMware
So, I had issues with virtualbox 6.1.28 after enabling virtual engine in the BIOS. Many others did, too. I believe it is fixed in v-box 6.1.32, but I fixed mine differently. On the Oracle help threads, there are 2 threads dedicated to the issue. At the time, I had the error code available to me and was able to search help that way (I don't remember the error code), but the fix was a 1 line command in cmd (again, I don't remember). My point is, I believe it's totally doable, and if it doesn't work, there is a lot of help on Oracles site (if you're using virtualbox, not VMware).
What I'm wondering is if I need to update my WSL installation to WSL2 somehow, or if it would have done that in the background. Also, if WSL2 could have an impact on NPCAP, (for packet capturing via Wireshark or snort).
@@Fr4zn2pirit I tried unchecking those boxes, but didn't work with freeware version. Thanks!
Could you make a tutorial, or indicate one of how to configure Win-KeX SL correctly? I looked in several places, but I didn't find any that worked correctly.
Ur a legend man. We love you
Thank you!