How to install Kali Linux on Android? Nethunter Rootless - 1st

2023-12-16By Shivam. 📖 3 min Read

Step 1 » Install Termux on Your Phone 🡥

Step 2 » Initial Setup

This is the initial setup you have to do first to install Kali Linux.

pkg update && pkg upgrade

Here you can get some commands from here🡥 Or copy directly from here:

termux-setup-storage && pkg install wget && wget -O install-nethunter-termux https: offs.ec/2MceZWr && chmod +x install-nethunter-termux

Step 3 » Install Nethunter Termux

./install-nethunter-termux

Or,

bash install-nethunter-termux

*During installation, you will see this option. Here you can go through nano, type 3 for it.

nano >> 3

Step 4 » Get Storage Access

If you want to access your storage in Linux, follow this:

termux-setup-storage && nano $PREFIX/bin/nh

Or,

bash install-nethunter-termux

And write this -b /sdcard \

Step 1

Step 5 » Start Nethunter Server

 nh && sudo apt update

Password >> kali

Start the Nethunter server and update the packages there. You will get an internet error because the Nethunter server is unable to access your smartphone internet, so let's solve it.

=> Solve Internet Error
nano /etc/resolv.conf

Remove all from there and write this and SAVE that (ctrl + x + y and enter):-

nameserver 8.8.8.8 nameserver 8.8.4.4

step 5

Step 6 » Now Let's Run Linux

Update and install VNC server to run our Kali Linux on VNC server:

sudo apt update && sudo apt install kali-desktop-xfce dbus-x11 tigervnc-standalone-server -y

=> Make some changes in VNC server:

nano .vnc/xstartup

=> Write this on any place ⇊⇊:

#!/bin/bash dbus-launch startxfce4

step 6

=> Run this:

chmod +x .vnc/xstartup

Now start the VNC server to run Kali Linux on Android.

kex

Set your password for example => 123456. Once it's done, it means your VNC server is running on localhost:1 , and your Kali Linux is running on the VNC server. You have to install a VNC viewer App Install App 🡥. Now you can access your Kali Linux. I am giving you a direct link to install the VNC viewer app. It may not be the latest version, but it's a stable version that will work on any Android phone. Install Now 🡥.

preview

Now open vnc viewer and click on + button and give Address in our case linux is running on localhost:1 and then give name you want exp: Kali Linux. In Last create it and connect it while connecting to the Kali Linux you might be asked for password so give the password whatever you set my password is 123456 after giving password you are going to connect with kali linux.

=> this is our final pic.

last

Related

Bonnie Avatar

How to install Kali Linux on Android? Nethunter Rootless - 1st


»»⋇⋆★⋆⋇»»

Latest

new img
Loading...

Popular

popular img
Loading...