Win kex kali linux

Kali Linux получил графический интерфейс для подсистемы Windows для Linux (WSL2). Инструкция по установке

Команда разработчиков Kali Linux представила графический интерфейс для подсистемы Windows для Linux (WSL). Решение называется Win-Kex (Windows + Kali Desktop EXperience). Теперь можно запускать популярный дистрибутив для пентеста на ПК с Windows 10 в WSL2 с GUI.

Специалисты портала Bleeping Computer проверили, что это действительно работает. Они опубликовали свою инструкцию по установке и запуску Kali Linux с графическим интерфейсом для подсистемы Windows для Linux (WSL2).

Установка Kali Linux с GUI возможна только на ПК с ОС Windows 10 версии 2004.

На подготовительном этапе необходимо в ОС активировать подсистему Windows для Linux.

Открыть PowerShell (сейчас и далее под администратором) и запустить:

Открыть PowerShell и запустить:

Далее необходимо скачать и установить WSL2.

Потом нужно открыть PowerShell и запустить:

Далее нужно установить Kali Linux из магазина Microsoft Store.

Чтобы поменять тип установки kali-linux с WSL1 на WSL2 нужно в PowerShell запустить:

Далее нужно выполнить установку и запустить Kali Linux.

Потом нужно установить пакет Win-KeX.

Можно также установить расширенную сборку Kali Linux.

После окончание установки GUI для Kali Linux запускается командой «kex».

Источник

Win kex kali linux

Seamless mode removes the visual segregation between linux and window apps and offers a great platform to run a penetration test in Kali Linux and copy the results straight into a Windows app for the final report.

Win-KeX utilises VcXsrv Windows X Server to achieve seamless desktop integration.

Prerequisites

  • VcXsrv requires Visual C++ Redistributable for Visual Studio 2015 (vcredist140). It should be included in standard Windows installations but if you receive an error complaining that it is missing, just download and install it.

Usage

Start

Start Win-KeX as normal user in seamless mode via: kex —sl

When starting Win-KeX SL for the first time, ensure to select

Public networks

when asked for authorisation to allow traffic through the Windows Defender firewall

This will start Win-KeX in seamless mode:

The Kali panel is placed at the top of the screen and the Windows Start menu at the bottom.

  • Tip: The Kali panel might cover the title bar of maximised windows. To prevent it getting in the way you may prefer to set it to “Automatically hide” in the panel preferences.
Читайте также:  Windows 10 визуальные эффекты какие оставить

Sound Support

Win-KeX includes pulse audio support

To start Win-KeX with sound support, add —sound or -s , e.g. kex —win -s

When starting Win-KeX with sounds support for the first time, ensure to select

Public networks

when asked for authorization to allow traffic through the Windows Defender firewall

Multiscreen Support

Win-KeX supports multiscreen setups:

Open “Panel Preference” to reduce the panel length, untick “Lock panel” and move the panel to the desired screen.

To close Win-KeX SL, simply log out of the session via the “Logout” button in the panel.

To optionally shutdown the Win-KeX SL server, type kex —sl —stop

Enjoy Win-KeX!

Updated on: 2021-Sep-27
Author: Re4son

Источник

Win kex kali linux

Window mode helps keeping the Windows and Kali environments visually apart.

Win-KeX utilises TigerVNC for its client and server components.

Usage

Start

Start Win-KeX as normal user in window mode via: kex —win or simply via kex

NOTE: Window mode is the default Win-KeX mode so “–win” can be omitted in all commands on this page.

You will be prompted to set a vnc server password during first launch. The password can be changed later via

This will start the Win-KeX server and launch the Win-KeX client in full screen mode:

Start Root Session

Start Win-KeX as root in window mode via: sudo kex —win

You will be prompted to set a vnc server password during first launch. The password can be changed later via

sudo kex —passwd

This will start the Win-KeX server as root and launch the Win-KeX client in full screen mode. Note: The Win-KeX client always prompts for the vnc server password when connecting to a root session.

Session Management

  • Pressing “F8” will open the client’s context menu, which allows to manage the client sessions, e.g. close the client, switch between full screen and window, etc.)
  • You can disconnect from active sessions by pressing “F8” -> “Exit viewer”, this will close the client but leave the session running in the background
  • You can re-connect to a session by typing kex —win —start-client

Sound Support

Win-KeX includes pulse audio support

To start Win-KeX with sound support, add —sound or -s , e.g. kex —win -s

When starting Win-KeX with sounds support for the first time, ensure to select

Public networks

when asked for authorisation to allow traffic through the Windows Defender firewall

Multiscreen Support

  • Win-KeX supports mutiscreen setups: Press “F8” an go to “Options” -> “Screen” then untick “Enable full-screen mode over all monitors” & “Full screen mode”, move Win-KeX to the desired screen and re-enable full-screen mode
Читайте также:  Lulu firewall для mac os x

To close the Win-KeX client, press “F8” and select “Exit viewer”

To shutdown Win-KeX in window mode, type kex —win —stop

Enjoy Win-KeX!

Updated on: 2021-Sep-27
Author: Re4son

Источник

Win kex kali linux

ESM mode helps to keep the Windows and Kali environments visually apart.

Win-KeX utilises xrdp server and Microsoft’s native RDP client.

Using the native Microsoft client might yield a crispier GUI on HiDPI devices. The downside is that it is not as fast as –win or –sl modes to the increased pixel density.

Usage

Start

Start Win-KeX as normal user in ESM mode with sound via: kex —esm —sound

Note: As of the time of this writing, Windows on Arm contains a bug causing massive packet loss when using “localhost” instead of the IP address to connect to the kali container. As a workaround, use the “–ip” command line switch on arm devices, i.e.: kex —esm —ip —sound The disadvantage of using “–ip” is that you have to re-enter the ESM password each time you reboot the machine, as the credentials are stored using the sessions name, which changes after every reboot. Once Microsoft fixes the bug, we can drop the “–ip” and live happily ever after without having to type in the password again.

NOTE: ESM mode is the default Win-KeX mode on arm devices so “–esm” can be omitted in all commands on this page if you are running Windows on Arm.

You will be prompted to set an rdp server password during first launch. This is the password of the kali user you would like to login with. The password is store in the Windows credential store and can be changed later via

Tick “Don’t ask me again” and confirm the following warnings:

This will start the Win-KeX server and launch the Win-KeX client in full screen mode:

Start Root Session

Start Win-KeX as root in window mode via: `sudo kex –esm

You will be prompted to set an ESM server password during first launch. This is the password for the kali root user. The password can be changed later via

sudo kex —esm —passwd

This will start the Win-KeX server as root and launch the Win-KeX client in full screen mode.

Session Management

  • You can disconnect from active sessions by closing the RDP client; this will close the client but leave the session running in the background
  • You can re-connect to a session by typing kex —esm —start-client
Читайте также:  Ссылка для windows ссылка для linux

Sound Support

Win-KeX includes pulse audio support

To start Win-KeX with sound support, add —sound or -s , e.g. kex —esm —sound

To close the Win-KeX client, log out of the Kali GUI session

To shutdown Win-KeX in ESM mode, type kex —esm —stop

Enjoy Win-KeX!

Updated on: 2021-Sep-27
Author: Re4son

Источник

Win kex kali linux

This page details the steps to install Win-Kex in under 2 minutes.

Installation

All installation steps, up to the point where we install Win-Kex, are also explained in the 5 minute video guide by the amazing NetworkChuck:

Prerequisites

  • Running Windows 10 version 2004 or higher
  • Using Windows Terminal

Install Kali Linux in WSL2

  • Open PowerShell as administrator and run:
  • Open PowerShell as administrator and run:

    Download and install the WSL2 Linux Kernel from here: https://aka.ms/wsl2kernel

    Open PowerShell as administrator and run: wsl —set-default-version 2

    Install Kali Linux from the Microsoft Store

    Note: to upgrade an existing WSL1 kali-linux installation, type: wsl —set-version kali-linux 2

    Run Kali and finish the initial setup

    Install Win-KeX

    Run Win-KeX

    Win-KeX supports three modes:

    Window Mode:

    To start Win-KeX in Window mode with sound support, run

    Refer to the Win-KeX Win usage documentation for further information.

    Enhanced Session Mode:

    To start Win-KeX in Enhanced Session Mode with sound support and arm workaround, run

    Refer to the Win-KeX ESM usage documentation for further information.

    Seamless mode:

    To start Win-KeX in Seamless mode with sound support, run

    Refer to the Win-KeX SL usage documentation for further information.

    Optional Steps:

    • If you have the space, why not install “Kali with the lot”?: sudo apt install -y kali-linux-large

    Choose amongst these options:

    Basic Win-KeX in window mode with sound:

    Advanced Win-KeX in window mode with sound — Kali icon and start in kali home directory:

    Copy the kali-menu.png icon across to your windows picture directory and add the icon and start directory to your WT config:

    Basic Win-KeX in seamless mode with sound:

    Advanced Win-KeX in seamless mode with sound — Kali icon and start in kali home directory:

    Copy the kali-menu.png icon across to your windows picture directory and add the icon and start directory to your WT config:

    Basic Win-KeX in ESM mode with sound:

    Advanced Win-KeX in ESM mode with sound — Kali icon and start in kali home directory:

    Copy the kali-menu.png icon across to your windows picture directory and add the icon and start directory to your WT config:

    For more information, ask for help via:

    or consult the manpage via:

    or join us in the Kali Forums

    Enjoy Win-KeX!

    Updated on: 2021-Sep-27
    Author: Re4son

    Источник

Оцените статью