Kali Linux: WSL 2 install and GUI setup

Kali Linux: WSL 2 install and GUI setup

David Bombal

4 года назад

184,752 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@mayukhbanerjee8877
@mayukhbanerjee8877 - 11.10.2021 19:32

Im facing some issues regarding win kex installation showing could not fetch the files.use apt get update even though I have updated and upgraded the kali

Ответить
@UnitedDailyBuzz4387
@UnitedDailyBuzz4387 - 21.10.2021 02:44

i have a problem since i began to use wsl to install kali linux tool such as nmap the give me this massage each i tried to install any tools >>>
[sudo] password for mucyo:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libc-bin : Depends: libc6 (< 2.32) but 2.32-4 is to be installed
Recommends: manpages but it is not going to be installed
xfce4 : Depends: libxfce4ui-utils (>= 4.16) but it is not going to be installed
Depends: thunar (>= 4.16) but it is not going to be installed
Depends: xfce4-appfinder (>= 4.16.0) but it is not going to be installed
Depends: xfce4-panel (>= 4.16.0) but it is not going to be installed
Depends: xfce4-pulseaudio-plugin but it is not going to be installed
Depends: xfce4-session (>= 4.16.0) but it is not going to be installed
Depends: xfce4-settings (>= 4.16.0) but it is not going to be installed
Depends: xfconf (>= 4.16.0) but it is not going to be installed
Depends: xfdesktop4 (>= 4.16.0) but it is not going to be installed
Depends: xfwm4 (>= 4.16.0) but it is not going to be installed
Recommends: desktop-base (>= 5.0.4) but it is not going to be installed
Recommends: tango-icon-theme (>= 0.8.90) but it is not going to be installed
Recommends: thunar-volman (>= 4.16) but it is not going to be installed
Recommends: xfce4-notifyd but it is not going to be installed
Recommends: xorg but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Ответить
@bsummer
@bsummer - 15.11.2021 11:52

You are just amazing

Ответить
@bsummer
@bsummer - 15.11.2021 13:08

failed to execute child process '' dbus-launch

Ответить
@autobahnmensch
@autobahnmensch - 27.11.2021 11:23

I'm fairly knowledgeable with IT topics (Bachelor in IT/Cybersec - Master in Info Systems). I tried setting up and running an Ubuntu XFCE desktop yesterday on WSL2 and found it to be way too complicated and frustrating in comparison with just running any number of distros on VMWare... maybe I'll try again in a couple of years, but for now it's a "no"... (posted from Firefox running on Linux Mint in VMWare)

Ответить
@MrSegersall
@MrSegersall - 03.02.2022 02:19

Loving your videos. Specific to this one: is there any way to set a static IP address to WSL distro/instances so I can have rdp files named/set for them and double click to connect? Thank you in advance.

Ответить
@matthewg.garcia9415
@matthewg.garcia9415 - 14.02.2022 14:48

Thanks for the content! One question, if Windows 10 already has a GUI, why do we need a GUI for Kali? Thanks! (not rhetorical, actually wondering what the benefits - if any - to having multiple GUIs on one desktop.)

Ответить
@sgtfoose8842
@sgtfoose8842 - 05.03.2022 01:02

Can you make xrdp auto-start?

Ответить
@chriscracknell1593
@chriscracknell1593 - 28.03.2022 17:40

Windows 11, WSL2 latest Kali, all up to date as of 28th March 2022. I can logon to the RDP connection, but then just get an empty blue background screen in the RDP window followed eventually by an error: "Connection Problem, giving up"
.xorgxrdp.10.log on the computer says "no screens found".

Ответить
@rassman48
@rassman48 - 29.03.2022 20:24

I used your Kali instructions on Ubuntu20.04, because I couldn't get the Ubuntu instructions to work.
I now get as far as the Ubuntu xrdp login screen, but it all disappears when I login.
So I went to try these instructions on the Ubuntu 18.04 and realised the ip from 'ifconfig' is the same as on the Ubuntu 20.04, and I looked at opensuse and that has the same ip address.

Since I went through the same process using xrdp trying to get them all working, if more than one machine was on I suspect it must try them in order, but unless I looked which was top of the list I wouldn't know.

Ответить
@stevecross9159
@stevecross9159 - 20.04.2022 23:00

Just what I wanted thanks

Ответить
@User_jkjsbbk
@User_jkjsbbk - 29.05.2022 09:34

I used vncserver with vncviewer. But now I see I could save my time with Remote Desktop , thank you for gui tutorial

Ответить
@elecom5858
@elecom5858 - 08.06.2022 16:49

My HP Zbook 15 was locked BIOS admin password i can't enable Virtualization Machine How can i do that Please Help sir!

Ответить
@toby________toby
@toby________toby - 24.07.2022 14:32

Hello friends!! I am a real beginner. when I attempt to launch the gui, i get the following error:

[Window Title]
Remote Desktop Connection

[Content]
Remote Desktop can't connect to the remote computer for one of these reasons:

1) Remote access to the server is not enabled
2) The remote computer is turned off
3) The remote computer is not available on the network

Make sure that the remote computer is turned on and connected to the network and that remote access is enabled.

[^] Hide details [OK]

[Expanded Information]
Error code: 0x204
Extended error code: 0x0

Pls help >.<

Ответить
@jadhal6649
@jadhal6649 - 26.07.2022 07:26

How to convert
Linux cmd to gui
Any command

Ответить
@masterkane5340
@masterkane5340 - 27.07.2022 21:40

Windows 10 "pro" only, it seems?

Ответить
@willpfister
@willpfister - 29.07.2022 11:22

Is using wsl2 as anonymous as a vm especially since it bypasses Windows Firewall?

Ответить
@aarondaniele4141
@aarondaniele4141 - 24.08.2022 06:48

Mine works perfectly I've.also got.ubuntu on windows

Ответить
@idsoftware7
@idsoftware7 - 01.09.2022 23:16

Is there other way instead of XCFE ? Just asking...

Ответить
@Electro-k6u
@Electro-k6u - 05.09.2022 18:59

Which word can i use i love you teacher you are heroooooooooooooooooooo 💪💪💪💪💪💪💪💪💪💪💪💪💪💪💪💪💪💪💪💪💪💪💪💪💪💪💪💪💪💪💪💪💪💪💪💪💪💪💪💪💪💪💪💪💪💪💪💪💪💪💪💪💪💪

Ответить
@richardmutale7475
@richardmutale7475 - 18.09.2022 23:43

Is this as safe as a VM Kali for hacking???

Ответить
@moondoggspicoli1583
@moondoggspicoli1583 - 07.11.2022 05:32

Do you think KEX is better or XRDP?
I think that I like XRDP better, but I had to run "apt install -y dbus-x11" to fix an error. After that it works fine.
My only issue now is that my Kali instance gets a new IP address every time I launch it.
It's not a big deal, just an inconvenience to have to go get the new IP and insert it into Windows RDP client.
What is the best solution for that?

Ответить
@Charles.3.14
@Charles.3.14 - 05.12.2022 21:00

is there something you are leaving out because i downloaded it and it said w1sRegestrationdistribution error please help me.

Ответить
@trodjameson7034
@trodjameson7034 - 23.12.2022 04:29

Please help… after this kali is awesome it works, but when i restart my pc it wont let me in the GUI it says failure to connect to remote desktop. How do I fix this?

Ответить
@doneshawn3706
@doneshawn3706 - 26.12.2022 00:28

So I wont lose my data on windows when using kali?

Ответить
@10K200-q
@10K200-q - 02.01.2023 06:21

David ,at install time not connecting to kex server

Ответить
@collateraldamage5955
@collateraldamage5955 - 16.01.2023 03:27

it gives me an error screen saying remote desktop can't connect what do i do?

Ответить
@mitch_the_-itch
@mitch_the_-itch - 06.02.2023 21:09

A good next step if you have an Nvidia graphics card is to install the Cuda core driver. That made it much snappier. So snappy in fact that Id like to have a gnome4 desktop. Is there an nmap app with a gui?

Ответить
@adelaidemiguel9117
@adelaidemiguel9117 - 15.03.2023 19:15

I followed all the instructions but kept on getting errors. "Error connecting to the kex server. Please try "kex start" to start the service. If the server fails, please try "kex kill" or restart your WSL2 session and try again. PLEASE HELP, FAILED FOR 2 DAYS IN RAW.

Ответить
@Positive__Vibes_07
@Positive__Vibes_07 - 22.03.2023 10:19

Thanku so much David❤

Ответить
@ryanten6475
@ryanten6475 - 26.03.2023 16:40

Excellent video though i only watch it in 2023 👍👍👍😘😘😘

Ответить
@nusratkhwaja6330
@nusratkhwaja6330 - 10.04.2023 10:11

I have windows 10 Home, why is there no 'remote desktop connection'?? without it, i cant remote in to Kali. Please help.

Ответить
@yaboiJCMdagoat
@yaboiJCMdagoat - 16.04.2023 16:24

Can you use Kali Linux on windows 10 home

Ответить
@BaconRanch
@BaconRanch - 01.05.2023 02:46

Hi David thank you for this....I have watched this 100 times today lol, I was finally able to get the GUI using info from here and different sites but I can not enable network connections in the GUI. What am I missing? Any help please?

Ответить
@vbcasimir3016
@vbcasimir3016 - 31.07.2023 22:00

hi think your video. so could you make a video in relation to the operation of the WSL network I made an ip address on the WSL kali post I see a bridge card which is not activated yet I can ping the other machines on the network: my physical positions
and also if it is possible to create a private network with the other WSL machines without being able to access the host? THANKS

Ответить
@shaileshlanjekar
@shaileshlanjekar - 03.10.2023 10:31

Hi, it is giving me an error when I click on "Open" button after getting it from Microsoft Store

Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80004005
Error: 0x80004005 Unspecified error

Press any key to continue...

I tried setting up the LxssManager service startup to Automatic and running the command Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux on powershell admin, but issue persists. Please help.

Ответить
@ManuelAlejandroJardimGomesMJ7L
@ManuelAlejandroJardimGomesMJ7L - 04.10.2023 21:04

Great. Thanks!

Ответить
@ogidarmatena
@ogidarmatena - 22.12.2023 07:04

can you help me, my wifi on kali linux not showing,

Ответить
@roymendenhall1462
@roymendenhall1462 - 26.12.2023 00:47

is there a way to recover the username and password for kali

Ответить
@ianwanjala8621
@ianwanjala8621 - 27.02.2024 10:56

is this possible only with kali or can I do the same with ubuntu?

Ответить
@0day__
@0day__ - 27.02.2024 11:51

how to check username and password

Ответить
@kevinwnz
@kevinwnz - 17.05.2024 10:00

I followed the instructions but ran into problem, first I had to get wsl2 updated, then I had to install an extra compent to get the remote desktop working. I am running windows 11 pro😀

Ответить
@nikhild79143
@nikhild79143 - 04.08.2024 20:26

small update now you all lads have to use one extra installation along with what david have said for gui
sudo apt install dbus-x11
Thanks david you are great

Ответить
@RickiLinnabaryJr
@RickiLinnabaryJr - 25.08.2024 10:11

Great video David! Love your cadence and the way you explain what you are doing. We will definitely be back to learn more! Would love to learn more about networking... and more! Have an excellent day!

Ответить
@rayerdinc2441
@rayerdinc2441 - 13.10.2024 11:54

Brilliant video!! Easy to follow and no waffle! I am learning and catching up. Thank you.

Ответить
@aryan8plays
@aryan8plays - 02.11.2024 19:26

I tried to connect the GUI with win- kex command, can you share the difference between kex method and xdrp method

Ответить
@ssy75
@ssy75 - 26.01.2025 03:05

Say that I cannot contact server

Ответить
@thexofficial3729
@thexofficial3729 - 16.02.2025 18:57

Thank you so much sir for this explanation ihope you do more

Ответить
@BobbyNewk
@BobbyNewk - 02.06.2025 17:27

pls help i keep getting xfce notify daemon unable to notification daemon your wayland compositor does not support required protocol wlr-layer-shell

Ответить