Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aioont/kex

Kex not working , fix kex , kex error , win kex , win-kex , fix error in kex , no matching vnc server , Kali linux rootless nethunter program and kex client program for managing vnc connection.
https://github.com/aioont/kex

android error kali kali-linux kex nethunter termux vnc vnc-server win-kex wsl wsl2

Last synced: 2 months ago
JSON representation

Kex not working , fix kex , kex error , win kex , win-kex , fix error in kex , no matching vnc server , Kali linux rootless nethunter program and kex client program for managing vnc connection.

Awesome Lists containing this project

README

        

```diff
- 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)

________________________________________________________________________________
```diff
+ 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

# Inside kali command line

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

### 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](image.jpg)
![This is an image](https://www.kali.org/docs/nethunter/nethunter-rootless/010-NH-Rootless-Installation_Start_s.png)

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

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