how to install kali linux on android without root

How to install ‘Kali Linux’ on Android without root and use kali linux in graphical mode



Hello guys,

There are many ways to install kali linux in rooted android phone but without rooted android has rare ways to install kali linux.

In this article we will know that how to install ‘Kali Linux’ on any android without root and without any pc emulator. And you will able to use ‘kali linux’ in GUI (graphical user interface) and CLI (command line) mode.

To do it we need following things :-

1.Termux app:- this app you can download from google play store.

2.VNC Viewer:- this app you can also download from google paly store.



In this article we cover following topics:-

1.     how to download kali linux and setup for command line

2.     how to Desktop setup for kali linux to use kali linux in graphical mode



Let’s start:-

Step 1. First of all, you need to download two apps from google paly store these are Termux and VNC Viewer.


Step 2. Now, you need to launch Termux and write the following command in termux and hit enter. Following command will download kali linux in the termux app, so copy and paste the following command in termux and press enter. It will use 72MB of internet data, so make sure you have connected to the internet.

pkg install wget openssl-tool proot -y && hash -r && wget https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/Installer/Kali/kali.sh && bash kali.sh




After do this, kali linux will be successfully installed in termux. Now to start kali linux you need to type the command ./start-kali.sh  and hit enter. It will start kali linux.


Step 3. Now, we need to setup Desktop Environment to use kali linux in graphical user interface.
            To do it you need to type the following command in termux and hit enter. It user approximant two hundred MB of internet data, so make sure your device has connected to internet connection.

wget https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/DesktopEnvironment/Apt/Xfce4/de-apt-xfce4.sh && bash de-apt-xfce4.sh



Before, running this command make sure you have started kali linux in termux by typing ./start-kali.sh command.

When you are going to run given command, it will ask you for some settings such as keyboard layout, language, desktop password etc.
When you have successfully complete this process, you need to open VNC Viewer app which you downloaded from google play store.

When you open the VNC Viewer app you can see the interface like this



You need to simply click on Add button in down right corner, after doing this it will ask you address. Here you can write ‘localhost:1’. In place of 1 you need to type number which you typed first time during desktop environment setup settings. And in next place you have type your machine name such as I have typed kali and click on create button. After doing this click on connect button and click ok at the upper right corner, see the following pictures










Now, you need to type your remote desktop password which you typed during desktop environment setup setting. And click on continue button at upper right corner.





Now, your GUI interface for kali linux has started.
See the following picture:-




I think you have successfully install kali linux in both of interface GUI and CLI.
 If you face any problem, then you can do comment below.


Post a Comment

13 Comments

  1. Salut je n'arrive pas installer kali quand je mettre cette command sur termux ./start-kali.sh il dise bash: ./start-kali.sh: No such file or directory aidez moi
    $

    ReplyDelete
  2. Before run ./start-kali.sh you need to run this command :-
    pkg install wget openssl-tool proot -y && hash -r && wget https://row.githubusercontent.com/EXALAB/AnLinux-

    ReplyDelete
  3. If I logout how to login to desktop

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. I mistakenly uninstalled termux and I installed it again and downloaded the package but couldn't open them in vnc viewer as it kept saying the computer couldn't be contacted

    ReplyDelete
  6. While processing this get some error at vnc

    ReplyDelete
  7. My whole process is done..and linux is also opened...now I can't re log in.

    ReplyDelete
  8. *Vncserver is not running*
    I've installed tigervnc and still getting this error

    ReplyDelete