{"id":13342522,"url":"https://github.com/aioont/kex","last_synced_at":"2025-03-12T01:37:30.277Z","repository":{"id":65262738,"uuid":"454483289","full_name":"aioont/kex","owner":"aioont","description":"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.","archived":false,"fork":false,"pushed_at":"2023-02-02T18:09:12.000Z","size":755,"stargazers_count":80,"open_issues_count":6,"forks_count":4,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-10-24T12:12:51.637Z","etag":null,"topics":["android","error","kali","kali-linux","kex","nethunter","termux","vnc","vnc-server","win-kex","wsl","wsl2"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aioont.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-02-01T17:27:48.000Z","updated_at":"2024-10-01T14:24:30.000Z","dependencies_parsed_at":"2023-02-17T23:01:21.723Z","dependency_job_id":null,"html_url":"https://github.com/aioont/kex","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aioont%2Fkex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aioont%2Fkex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aioont%2Fkex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aioont%2Fkex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aioont","download_url":"https://codeload.github.com/aioont/kex/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243141286,"owners_count":20242815,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","error","kali","kali-linux","kex","nethunter","termux","vnc","vnc-server","win-kex","wsl","wsl2"],"created_at":"2024-07-29T19:29:30.432Z","updated_at":"2025-03-12T01:37:29.872Z","avatar_url":"https://github.com/aioont.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"```diff\n- Nethunter \u0026 kex - Please read readme file to get full overview. This file explains fix for both kali nethunter kex and Win-kex\n```\n\n### How Fix kex error\n### No matching vnc server,no session,black screen,etc.\n\nRun command from termux :\n\n#### 1.Download nethunter.sh and kex.sh\n\n`wget https://raw.githubusercontent.com/aioont/kex/main/kex.sh`\n\n`wget https://raw.githubusercontent.com/aioont/kex/main/nethunter.sh`\n\nor\n\n`git clone https://github.com/aioont/kex.git`\n\n`cd kex`\n\n#### 2.Setup permission\n\n`chmod +x kex.sh`\n\n`chmod +x nethunter.sh`\n\n#### 3.Move files\n\nnethunter.sh to /data/data/com.termux/files/usr/bin\n\n`mv nethunter.sh nethunter \u0026\u0026 mv nethunter /data/data/com.termux/files/usr/bin`\n\nkex.sh to /usr/bin (directory of user : kali)\n\n`mv kex.sh kex \u0026\u0026 mv kex /data/data/com.termux/files/home/kali-arm64/usr/bin`\n\n_____________________________________________________________________\n\n#### 4.Commands\n\n `nethunter kex start` #To start \n\n `nethunter kex stop` #To stop\n\n `nethunter kex status` #To show status\n\n `nethunter kex restart` #To fix errors by removing some files\n\n `nethunter kex reset` #To delete some files and vnc user (.passwd fille of vnc)\n \n________________________________________________________________________________\n```diff\n+ For Win Kex Users (Windows subsystem)\n\n+ To fix ready only filesystem when trying to remove /tmp/.X11-unix , unmount it by command given below : \n+ Run command below manually and then run program or script ( Follow step 5.Commands)\n```\n`umount /tmp/.X11-unix`\n\n\n\n\n\n________________________________________________________________________________\n\nAudience: People who use Kali nethunter rootless - Android (also all kex user) \n\nNethunter is a program to start Kali linux in termux and kex client program for managing vnc connection.\n\n### kex.sh\n\nLocation : /usr/bin/kex \n\nDescription : A program to start,**repair**,stop,manage,reset configuration files of kex.\n\nPrerequisites : A termux installed with kali nethunter rootless \n\nUsage : # In termux\n\n        $ nethunter kex \u003coption\u003e\n\n        # Inside kali command line \n\n        ┌──(kali㉿localhost)-[~]└─\n        $ kex \u003coption\u003e\n\n### nethunter.sh \n\nLocation : /data/data/com.termux/files/usr/bin/nethunter\n\nDescription : A program to start kali linux installed on termux\n\nPrerequisites : A termux installed with kali nethunter rootless\n\nUsage : Entering **nethunter** or **nh** in termux which open kali command line. \n \nExample :$nethunter\n\n ┌──(kali㉿localhost)-[~]\n└─$\n\n\nModified (new) version of **nethunter** and **kex** \n_________________________________________________________________________________\n\n![Screenshot](image.jpg)\n![This is an image](https://www.kali.org/docs/nethunter/nethunter-rootless/010-NH-Rootless-Installation_Start_s.png)\n\nKali rootless : https://www.kali.org/docs/nethunter/nethunter-rootless/\nKali Nethunter : https://www.kali.org/docs/nethunter/\nKali NetHunter (Rootless Edition) : https://gitlab.com/kalilinux/nethunter/build-scripts/kali-nethunter-project/-/blob/master/nethunter-rootless/README.md\n\n\n\ni.Possible kex error due to updating which remove necessary files for kex because treating it as a obsolete.\n\nii.Deletion of configuration files like xstartup\n\n\n```diff\n@@ Your feedback is highly appreciated and star this repo if it is helpful.Have a good day :) @@\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faioont%2Fkex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faioont%2Fkex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faioont%2Fkex/lists"}