In this instance it will provide a visual environment for any packages you install that require the use of a GUI. Xfce4 is a free and open-source desktop environment for Unix operating systems. For the sake of this demonstration nmap, wireshark, hashcat, and the metasploit-framework were installed.ġ1. Run the command sudo apt-get dist-upgrade.ĩ. Run the command sudo apt-get update (ignore the error – W: http: aptMethod::Configuration: could not load seccomp policy: Invalid argument).Ĩ. Shown below is a brief snapshot of the alerts that can be generated by the metasploit-framework if the exception is not added first.ħ. The most likely result is that Windows Defender will become overwhelmed and either begin crashing or working intermittently. It is important to point out that if this step is not accomplished before installing certain packages, Windows Defender is going to throw a fit and identify all the associated files as malicious. Copy the file path to the Kali directory ( C:UsersAppDataLocalPackagesKaliLinux.XXX) and then add it as a security exception in Windows Defender ( Windows Defender Security Center -> Virus and Threat Protection -> V&T Protection Settings -> A/R Exclusions -> Add Exclusion -> Folder). In order to view this directory it will be necessary to reveal hidden items ( view -> show hidden files).Ħ. This directory can typically be found at C:UsersAppDataLocalPackagesKaliLinux.XXX. Locate the newly created Kali directory in Windows. Run the command cat /etc/issue to verify the environment.ĥ. Create a user account during the installation process (copy new credentials down!).Ĥ. Download the Kali Linux app (134MB) from the Microsoft Store and launch once it completes.ģ. Run powershell as an administrator and execute the following command:Įnable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-LinuxĢ. Below is a detailed guide on how to get WSL Kali up and running. The feature was designed primarily for developers, gives Windows 10 added versatility, and presents an alternative option to virtualization. WSL is a feature in Windows 10 that enables users to run native Linux command-lines tools, Bash, and other tools previously not available. Through utilization of the Windows Subsystem for Linux (WSL) compatibility layer, its now possible to install Kali in a Windows environment. Win-Kex 2.Recently Kali Linux was released as an application in the Microsoft Store. kex -sl -wtstart -sĪlso, a Win-KeX reinstallation can fix the error: sudo kex -stop sudo kex -stopĪfter that, the start of kex as a normal user became possible. sudo rm -f /tmp/*.logĪnd stop the KeX server with the –stop and –kill option. Here you can try to start Win-KeX with sudo: sudo kex -sl -wtstart -sĪ solution also brought the deletion of the logs under /tmp. WinClipboardProc - setjmp returned for IO Error Handler. In the log, it’s the last lines in /tmp/win kexsl_user.log: winMultiWindowXMsgProc - Fatal error 1 on xcb connection A fatal error has occurred and VcXsrv will now exit. If VcXsrv is trying to start Win-KeX in Seamless Mode, an error is issued by VcXsrv: A fatal error has occurred and VcXsrv will now exit. The BIOS provides the operating system with the virtualization function, for which you activate the Intel (R) Virtualization Technology in the UEFI BIOS settings. To use Win-KeX, a computer with Intel virtualization function VT-x is required. Kali Linux requires Windows 10 version 2004 or later, and the Windows subsystem for Linux – WSL 2. Install the Universal C Runtime x86 (vc_) and 圆4 (vc_redist.圆4.exe). The Visual C++ Redistributable packages are required to run Win-KeX, if not already installed, the packages can be downloaded here. Kex -esm - KeX desktop in native RDP windows Prerequisite for Win-KeX Kex -sl -wtstart - KeX server and win-kex client in terminal Kex -sl -s - Desktop Seamless Mode with Sound kex -sl Win-KeX Start Examples kex - Desktop full screen Start Win-KeX in Seamless – Sameless mode. Win-KeX can be run in window mode or Seamless mode. sudo apt update & sudo apt install -y kali-win-kex Start Win-KeX Debian is also available from Microsoft Store.ĭebian for Windows Subsystem for Linux Install Win-KeX
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |