Giter VIP home page Giter VIP logo

kex's Introduction

- Nethunter & kex - Please read readme file to get full overview. This file explains fix for both kali nethunter kex and Win-kex

How Fix kex error

No matching vnc server,no session,black screen,etc.

Run command from termux :

1.Download nethunter.sh and kex.sh

wget https://raw.githubusercontent.com/aioont/kex/main/kex.sh

wget https://raw.githubusercontent.com/aioont/kex/main/nethunter.sh

or

git clone https://github.com/aioont/kex.git

cd kex

2.Setup permission

chmod +x kex.sh

chmod +x nethunter.sh

3.Move files

nethunter.sh to /data/data/com.termux/files/usr/bin

mv nethunter.sh nethunter && mv nethunter /data/data/com.termux/files/usr/bin

kex.sh to /usr/bin (directory of user : kali)

mv kex.sh kex && mv kex /data/data/com.termux/files/home/kali-arm64/usr/bin


4.Commands

nethunter kex start #To start

nethunter kex stop #To stop

nethunter kex status #To show status

nethunter kex restart #To fix errors by removing some files

nethunter kex reset #To delete some files and vnc user (.passwd fille of vnc)


+ For Win Kex Users (Windows subsystem)

+ To fix ready only filesystem when trying to remove /tmp/.X11-unix , unmount it by command given below : 
+ Run command below manually and then run program or script ( Follow step 5.Commands)

umount /tmp/.X11-unix


Audience: People who use Kali nethunter rootless - Android (also all kex user)

Nethunter is a program to start Kali linux in termux and kex client program for managing vnc connection.

kex.sh

Location : /usr/bin/kex

Description : A program to start,repair,stop,manage,reset configuration files of kex.

Prerequisites : A termux installed with kali nethunter rootless

Usage : # In termux

    $ nethunter kex <option>

    # Inside kali command line 

    ┌──(kali㉿localhost)-[~]└─
    $ kex <option>

nethunter.sh

Location : /data/data/com.termux/files/usr/bin/nethunter

Description : A program to start kali linux installed on termux

Prerequisites : A termux installed with kali nethunter rootless

Usage : Entering nethunter or nh in termux which open kali command line.

Example :$nethunter

┌──(kali㉿localhost)-[~] └─$

Modified (new) version of nethunter and kex


Screenshot This is an image

Kali rootless : https://www.kali.org/docs/nethunter/nethunter-rootless/ Kali Nethunter : https://www.kali.org/docs/nethunter/ Kali NetHunter (Rootless Edition) : https://gitlab.com/kalilinux/nethunter/build-scripts/kali-nethunter-project/-/blob/master/nethunter-rootless/README.md

i.Possible kex error due to updating which remove necessary files for kex because treating it as a obsolete.

ii.Deletion of configuration files like xstartup

@@ Your feedback is highly appreciated and star this repo if it is helpful.Have a good day :) @@

kex's People

Contributors

aioont avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

kex's Issues

Anyone.know how to fix

help please i have s23 ultra andtoid 13Screenshot_20240611_220042_NetHunter KeX.jpg

If u are using default kex and vncserver reinstall it by following repository readme instructions.

New Android versions have some sort of limitations to process in background that might be killing the process result in connection refused.

winKex opens Windows Manager (xfwm4) without working taskbar and windows borders/tiles (WSL)

Windows Version

Microsoft Windows [10.0.22621.0]

WSL Version

1.2.5.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.90.1

Distro Version

Kali Linux 2023.2

Repro Steps

  1. Open respective kali-linux distro (either exported WSL image or current Microsoft Store generated image)
  2. Execute kex -w or kex -esm or either client options available for winKex once installed
  3. Opens Windows of the Kali Linux desktop from WSL

Expected Behavior

Obtain proper operation as described in documentation
image

image

Actual Behavior

xfce Windows manager not working accordingly by not showing either taskbar or windows tiles/borders even after reinstall in my used distro and in a new one as demonstrated below.
image

image

image

Diagnostic Logs

Not added because I'm not sure what log files could be of value for troubleshooting this issue.

Share feedback

🫂
Please share your feedback after using kex program that will help me to improve the code.

If you any suggestion or idea feel free to share.
🫂

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.