{"id":412343,"date":"2024-02-15T22:38:01","date_gmt":"2024-02-16T06:38:01","guid":{"rendered":"https:\/\/linuxhint.com\/?p=412343"},"modified":"2024-02-18T11:58:29","modified_gmt":"2024-02-18T19:58:29","slug":"install-kali-linux-android","status":"publish","type":"post","link":"https:\/\/linuxhint.com\/install-kali-linux-android\/","title":{"rendered":"Install Kali Linux on Android"},"content":{"rendered":"<div id=\"wpbody\">Kali Linux is a well-known distribution derived from Debian linux. It is universally utilized for security auditing, ethical hacking, and penetration testing. For this purpose, it offers hundreds of security auditing and penetration testing tools. Sometimes, users want to use Kali Linux on mobile devices for early and easy access to Kali tools. However, Android cannot directly run the Kali Linux OS. For this purpose, users can install and use the Kali Nethunter package on mobile.<\/p>\n<p>The Kali Nethunter is an Android version of Kali Linux Os. It is mostly used by cybersecurity students for ethical hacking, testing, and security management.<\/p>\n<p>This post will illustrate:<\/p>\n<ul>\n<li><a href=\"#post-412343-631vm6ou38jw\">Prerequisites<\/a><\/li>\n<li><a href=\"#post-412343-23v8v8s16sig\">How to Install Kali Linux on Android?<\/a><\/li>\n<li><a href=\"#post-412343-q44ry6z45wi6\">How to Connect Kali NetHunter VNC Server to Access Kali Graphical Interface on Android?<\/a><\/li>\n<li><a href=\"#post-412343-y2lei34aafk7\">Conclusion<\/a><\/li>\n<\/ul>\n<h2><a id=\"post-412343-631vm6ou38jw\"><\/a><strong>Prerequisites<\/strong><\/h2>\n<p>To install and set up Kali Linux on an Android device, the user must fulfill the following prerequisites:<\/p>\n<ul>\n<li><strong>Android Storage:<\/strong> To use Kali Linux on an Android device, the user must have at least \u201c<strong>6 GB<\/strong>\u201d of extra storage space for basic setup and \u201c<strong>4GB<\/strong>\u201d of system RAM.<\/li>\n<li><strong>Terminal Emulator:<\/strong> Android is Linux based OS that can install terminal emulators and run the Linux commands. To install the Kali Nethunter, the user must have a terminal emulator to run Linux commands such as Termius, Termux, CommandBot, and many more. For demonstration, we will use \u201c<strong>Termux<\/strong>\u201d.<\/li>\n<li><strong>Nethunter KeX: <\/strong>The Nethunter KeX is Kali\u2019s key exchange tool that connects the VNC server to give us access to Kali\u2019s graphical interface.<\/li>\n<\/ul>\n<p>The procedure to install Kali Nethunter, Nethunter Kex, and Termux is explained in the below sections.<\/p>\n<h2><a id=\"post-412343-23v8v8s16sig\"><\/a><strong>How to Install Kali Linux on Android?<\/strong><\/h2>\n<p>To install Kali Linux on an Android device, the user needs to install the Kali Nethunter Android version of Kali. To install and run Nethunter, the user must have a Termux terminal emulator. For proper illustration, go through the following steps.<\/p>\n<h3><strong>Step 1: Install Termux<\/strong><\/h3>\n<p>Launch the Chrome browser on mobile and search for \u201c<strong>Termux<\/strong>\u201d in the search bar. After that, open the \u201c<strong>F-Droid<\/strong>\u201d <a href=\"https:\/\/f-droid.org\/en\/packages\/com.termux\/\">website<\/a> to download Termux APK:<\/p>\n<p><img decoding=\"async\" width=\"696\" height=\"1170\" class=\"wp-image-412346\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-1.jpeg\" srcset=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-1.jpeg 696w, https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-1-178x300.jpeg 178w, https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-1-609x1024.jpeg 609w\" sizes=\"(max-width: 696px) 100vw, 696px\" \/><\/p>\n<p><strong>Note:<\/strong> Google Play also offers us Termux but an older version. To install the latest version of Termux, download and install its APK file.<\/p>\n<p>Scroll down to the end and click on the \u201c<strong>Download APK<\/strong>\u201d link to download Termux APK:<\/p>\n<p><img decoding=\"async\" width=\"700\" height=\"1226\" class=\"wp-image-412348\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-2.jpeg\" srcset=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-2.jpeg 700w, https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-2-171x300.jpeg 171w, https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-2-585x1024.jpeg 585w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/p>\n<p>Here, the Termux APK is downloaded. Open the APK by clicking on it and install Termux:<\/p>\n<p><img decoding=\"async\" width=\"687\" height=\"1047\" class=\"wp-image-412352\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-3.jpeg\" srcset=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-3.jpeg 687w, https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-3-197x300.jpeg 197w, https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-3-672x1024.jpeg 672w\" sizes=\"(max-width: 687px) 100vw, 687px\" \/><\/p>\n<p>Next, hit the \u201c<strong>INSTALL<\/strong>\u201d button to install the Termux:<\/p>\n<p><img decoding=\"async\" width=\"601\" height=\"350\" class=\"wp-image-412354\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-4.jpeg\" srcset=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-4.jpeg 601w, https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-4-300x175.jpeg 300w\" sizes=\"(max-width: 601px) 100vw, 601px\" \/><\/p>\n<p>After completing the installation, the user needs to grant storage permission to the Termux terminal. For this purpose, search for \u201c<strong>Termux<\/strong>\u201d in the search bar, press and hold the below pointed icon, and click on the \u201c<strong>App info<\/strong>\u201d button:<\/p>\n<p><img decoding=\"async\" width=\"699\" height=\"962\" class=\"wp-image-412357\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-5.jpeg\" srcset=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-5.jpeg 699w, https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-5-218x300.jpeg 218w\" sizes=\"(max-width: 699px) 100vw, 699px\" \/><\/p>\n<p>Open the \u201c<strong>Permissions<\/strong>\u201d option to grant the required permission:<\/p>\n<p><img decoding=\"async\" width=\"699\" height=\"1242\" class=\"wp-image-412362\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-6.jpeg\" srcset=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-6.jpeg 699w, https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-6-169x300.jpeg 169w, https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-6-576x1024.jpeg 576w\" sizes=\"(max-width: 699px) 100vw, 699px\" \/><\/p>\n<p>Next, choose the \u201c<strong>Storage<\/strong>\u201d option to enable the storage access for Termux:<\/p>\n<p><img decoding=\"async\" width=\"684\" height=\"992\" class=\"wp-image-412366\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-7.jpeg\" srcset=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-7.jpeg 684w, https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-7-207x300.jpeg 207w\" sizes=\"(max-width: 684px) 100vw, 684px\" \/><\/p>\n<p>Now, press the \u201c<strong>Allow<\/strong>\u201d radio button to grant the access:<\/p>\n<p><img decoding=\"async\" width=\"694\" height=\"1057\" class=\"wp-image-412368\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-8.jpeg\" srcset=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-8.jpeg 694w, https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-8-197x300.jpeg 197w, https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-8-672x1024.jpeg 672w\" sizes=\"(max-width: 694px) 100vw, 694px\" \/><\/p>\n<h3><strong>Step 2: Update Repository<\/strong><\/h3>\n<p>After granting the required permissions, launch the Termux application on Android. Update the repository using the \u201c<strong>pkg update<\/strong>\u201d Linux command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">pkg update<\/div><\/div>\n<p><img decoding=\"async\" width=\"700\" height=\"1004\" class=\"wp-image-412390\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-9.jpeg\" srcset=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-9.jpeg 700w, https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-9-209x300.jpeg 209w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/p>\n<p>This process will ask you for several permissions. Keep assigning the required permission by pressing the \u201c<strong>Y<\/strong>\u201d key:<\/p>\n<p><img decoding=\"async\" width=\"698\" height=\"1002\" class=\"wp-image-412391\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-10.jpeg\" srcset=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-10.jpeg 698w, https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-10-209x300.jpeg 209w\" sizes=\"(max-width: 698px) 100vw, 698px\" \/><\/p>\n<p>Here, the Termux repository is updated successfully:<\/p>\n<p><img decoding=\"async\" width=\"700\" height=\"848\" class=\"wp-image-412393\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-11.jpeg\" srcset=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-11.jpeg 700w, https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-11-248x300.jpeg 248w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/p>\n<p>Alternatively, the user can update the repository using the \u201c<strong>apt update<\/strong>\u201d command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">apt update<\/div><\/div>\n<p><img decoding=\"async\" width=\"701\" height=\"683\" class=\"wp-image-412394\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-12.jpeg\" srcset=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-12.jpeg 701w, https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-12-300x292.jpeg 300w\" sizes=\"(max-width: 701px) 100vw, 701px\" \/><\/p>\n<h3><strong>Step 3: Install \u201cwget\u201d Command<\/strong><\/h3>\n<p>Now, install the \u201c<strong>wget<\/strong>\u201d Linux utility. It is used to download the package installer scripts from online URLs. To install the \u201cwget\u201d command, utilize the \u201c<strong>apt install wget<\/strong>\u201d command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">apt <span class=\"kw2\">install<\/span> <span class=\"kw2\">wget<\/span> <span class=\"re5\">-y<\/span><\/div><\/div>\n<p><img decoding=\"async\" width=\"698\" height=\"875\" class=\"wp-image-412396\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-13.jpeg\" srcset=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-13.jpeg 698w, https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-13-239x300.jpeg 239w\" sizes=\"(max-width: 698px) 100vw, 698px\" \/><\/p>\n<h3><strong>Step 4: Download Kali Nethunter Installer Script <\/strong><\/h3>\n<p>After installing the \u201c<strong>wget<\/strong>\u201d command, download the \u201c<strong>Nethunter<\/strong>\u201d installer script and overwrite it in the file named \u201c<strong>installer<\/strong>\u201d:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">wget<\/span> <span class=\"re5\">-O<\/span> installer https:<span class=\"sy0\">\/\/<\/span>offs.ec<span class=\"sy0\">\/<\/span>2MceZWr<\/div><\/div>\n<p><img decoding=\"async\" width=\"701\" height=\"1254\" class=\"wp-image-412399\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-14.jpeg\" srcset=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-14.jpeg 701w, https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-14-168x300.jpeg 168w, https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-14-572x1024.jpeg 572w\" sizes=\"(max-width: 701px) 100vw, 701px\" \/><\/p>\n<p><img decoding=\"async\" width=\"702\" height=\"1356\" class=\"wp-image-412400\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-15.jpeg\" srcset=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-15.jpeg 702w, https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-15-155x300.jpeg 155w, https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-15-530x1024.jpeg 530w\" sizes=\"(max-width: 702px) 100vw, 702px\" \/><\/p>\n<h3><strong>Step 5: Set Nethunter Installer Permissions<\/strong><\/h3>\n<p>After installing the file, run the \u201c<strong>ls<\/strong>\u201d command for verification:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">ls<\/span><\/div><\/div>\n<p>The output shows that we have downloaded the Nethunter installer. To make the \u201c<strong>installer<\/strong>\u201d file executable, run the \u201c<strong>chmod<\/strong>\u201d command with \u201c<strong>777<\/strong>\u201d code to assign all read, write, and executable permissions to the file:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">chmod<\/span> <span class=\"nu0\">777<\/span> installer<\/div><\/div>\n<p><img decoding=\"async\" width=\"701\" height=\"419\" class=\"wp-image-412405\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-16.jpeg\" srcset=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-16.jpeg 701w, https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-16-300x179.jpeg 300w\" sizes=\"(max-width: 701px) 100vw, 701px\" \/><\/p>\n<p>Again, list down the files of the current directory and check if we have marked the file executable or not:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">ls<\/span><\/div><\/div>\n<p>File name in \u201c<strong>Green<\/strong>\u201d color indicates that we have set the file permissions as executable:<\/p>\n<p><img decoding=\"async\" width=\"698\" height=\"512\" class=\"wp-image-412406\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-17.jpeg\" srcset=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-17.jpeg 698w, https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-17-300x220.jpeg 300w\" sizes=\"(max-width: 698px) 100vw, 698px\" \/><\/p>\n<h3><strong>Step 6: Install Kali Nethunter<\/strong><\/h3>\n<p>Now, run the Kali Nethunter installer by executing the \u201c<strong>installe<\/strong>r\u201d file:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">.<span class=\"sy0\">\/<\/span>installer<\/div><\/div>\n<p><img decoding=\"async\" width=\"695\" height=\"466\" class=\"wp-image-412408\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-18.jpeg\" srcset=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-18.jpeg 695w, https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-18-300x201.jpeg 300w\" sizes=\"(max-width: 695px) 100vw, 695px\" \/><\/p>\n<p>This command will start installing Kali on Android. The prompt will ask you to either install Kali\u2019s full, minimal, or nano version. To install the Kali\u2019s full version, press \u201c<strong>1<\/strong>\u201d and hit Enter:<\/p>\n<p><img decoding=\"async\" width=\"698\" height=\"1165\" class=\"wp-image-412411\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-19.jpeg\" srcset=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-19.jpeg 698w, https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-19-180x300.jpeg 180w, https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-19-614x1024.jpeg 614w\" sizes=\"(max-width: 698px) 100vw, 698px\" \/><\/p>\n<p>This will install the full Kali Linux version on Android.<\/p>\n<h3><strong>Step 7: Launch Kali<\/strong><\/h3>\n<p>To launch Kali, execute the \u201c<strong>nh<\/strong>\u201d or \u201c<strong>nethunter<\/strong>\u201d command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">nh<\/div><\/div>\n<p>The below result shows that we have installed the Kali Linux on Android:<\/p>\n<p><img decoding=\"async\" width=\"698\" height=\"1013\" class=\"wp-image-412413\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-20.jpeg\" srcset=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-20.jpeg 698w, https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-20-207x300.jpeg 207w\" sizes=\"(max-width: 698px) 100vw, 698px\" \/><\/p>\n<h3><strong>Step 8: Run Update Command<\/strong><\/h3>\n<p>Now, update the Kali\u2019s official repository by utilizing the \u201c<strong>apt update<\/strong>\u201d command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">apt update<\/div><\/div>\n<p><img decoding=\"async\" width=\"700\" height=\"851\" class=\"wp-image-412417\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-21.jpeg\" srcset=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-21.jpeg 700w, https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-21-247x300.jpeg 247w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/p>\n<p><img decoding=\"async\" width=\"699\" height=\"1347\" class=\"wp-image-412432\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-22.jpeg\" srcset=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-22.jpeg 699w, https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-22-156x300.jpeg 156w, https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-22-531x1024.jpeg 531w\" sizes=\"(max-width: 699px) 100vw, 699px\" \/><\/p>\n<p>The output shows that \u201c776\u201d packages are required to be upgraded.<\/p>\n<h3><strong>Step 9: Run Upgrade Command<\/strong><\/h3>\n<p>After upgrading the Kali\u2019s packages, run the \u201c<strong>apt upgrade<\/strong>\u201d command. This command may require \u201c<strong>sudo<\/strong>\u201d privileges to make changes in Kali\u2019s repository:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> apt upgrade <span class=\"re5\">-y<\/span><\/div><\/div>\n<p>The \u201c<strong>-y<\/strong>\u201d option will allocate the permission to utilize the extra device space to install the package:<\/p>\n<p><img decoding=\"async\" width=\"694\" height=\"1186\" class=\"wp-image-412441\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-23.jpeg\" srcset=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-23.jpeg 694w, https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-23-176x300.jpeg 176w, https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-23-599x1024.jpeg 599w\" sizes=\"(max-width: 694px) 100vw, 694px\" \/><\/p>\n<p><img decoding=\"async\" width=\"699\" height=\"625\" class=\"wp-image-412444\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-24.jpeg\" srcset=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-24.jpeg 699w, https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-24-300x268.jpeg 300w\" sizes=\"(max-width: 699px) 100vw, 699px\" \/><\/p>\n<p><strong>Note:<\/strong> While updating and upgrading Kali\u2019s packages on Android, users may encounter errors and are unable to update and upgrade the package. This is due to Kali not finding any source URL to update and upgrade Kali\u2019s packages or Kali not having access to device&#8217;s internet. To fix these issues, follow our associated \u201c<a href=\"https:\/\/linuxhint.com\/fix-update-upgrade-command-error-kali-linux-android\/\">Fix update &amp;&amp; upgrade Command Error on Kali Android<\/a>\u201d article.<\/p>\n<h3><strong>Step 10: Exit Kali Nethunter<\/strong><\/h3>\n<p>To exit Kali\u2019s terminal, utilize the \u201cexit\u201d command. If the exit command does not work for your device, utilize the \u201c<strong>CTRL+C<\/strong>\u201d or \u201c<strong>CTRL+Z<\/strong>\u201d key:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw3\">exit<\/span><\/div><\/div>\n<p><img decoding=\"async\" width=\"692\" height=\"192\" class=\"wp-image-412445\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-25.jpeg\" srcset=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-25.jpeg 692w, https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-25-300x83.jpeg 300w\" sizes=\"(max-width: 692px) 100vw, 692px\" \/><\/p>\n<h2><a id=\"post-412343-q44ry6z45wi6\"><\/a><strong>How to Connect Kali NetHunter VNC Server to Access Kali Graphical Interface on Android?<\/strong><\/h2>\n<p>Nethunter VNC server is a graphical desktop sharing system that enables us to remotely control the Kali desktop. To connect the Kali Nethunter VNC server to access the Kali\u2019s graphical interface, look at below provided steps.<\/p>\n<h3><strong>Step 1: Setup KeX<\/strong><\/h3>\n<p>First, set the Nethunter Kex (Key Exchange) password using the below command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">nh kex <span class=\"kw2\">passwd<\/span><\/div><\/div>\n<p>This command will ask you to set and verify the password. This password will be used to access Kali&#8217;s VNC. After that, press the \u201c<strong>N<\/strong>\u201d key to avoid setting the \u201c<strong>view-only<\/strong>\u201d password. The \u201cview-only\u201d password will only permit the user to view remote Desktop:<\/p>\n<p><img decoding=\"async\" width=\"697\" height=\"393\" class=\"wp-image-412447\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-26.jpeg\" srcset=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-26.jpeg 697w, https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-26-300x169.jpeg 300w\" sizes=\"(max-width: 697px) 100vw, 697px\" \/><\/p>\n<h3><strong>Step 2: Start KeX Server<\/strong><\/h3>\n<p>Next, start the Nethunter Kex server by utilizing the \u201c<strong>nh kex<\/strong>\u201d command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">nh kex<\/div><\/div>\n<p>This will allocate the display number and port on which Kali\u2019s remote desktop will be accessible:<\/p>\n<p><img decoding=\"async\" width=\"701\" height=\"703\" class=\"wp-image-412448\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-27.jpeg\" srcset=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-27.jpeg 701w, https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-27-300x300.jpeg 300w, https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-27-150x150.jpeg 150w\" sizes=\"(max-width: 701px) 100vw, 701px\" \/><\/p>\n<h3><strong>Step 3: Download NetHunter Kex APK File<\/strong><\/h3>\n<p>Next, download the Nethunter Kex app to access Kali\u2019s Kex VNC. For this purpose, open the Chrome browser and download the NetHunter Kex APK file from the Nethunter <a href=\"https:\/\/store.nethunter.com\/en\/packages\/com.offsec.nethunter.kex\/\">store<\/a>:<\/p>\n<p><img decoding=\"async\" width=\"701\" height=\"1394\" class=\"wp-image-412449\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-28.jpeg\" srcset=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-28.jpeg 701w, https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-28-151x300.jpeg 151w, https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-28-515x1024.jpeg 515w\" sizes=\"(max-width: 701px) 100vw, 701px\" \/><\/p>\n<h3><strong>Step 4: Install NetHunter Kex<\/strong><\/h3>\n<p>After downloading the APK file, click on the file to install Nethunter Kex:<\/p>\n<p><img decoding=\"async\" width=\"696\" height=\"1000\" class=\"wp-image-412451\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-29.jpeg\" srcset=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-29.jpeg 696w, https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-29-209x300.jpeg 209w\" sizes=\"(max-width: 696px) 100vw, 696px\" \/><\/p>\n<p>Now, press the \u201c<strong>INSTALL<\/strong>\u201d button to install the NetHunter Kex application:<\/p>\n<p><img decoding=\"async\" width=\"602\" height=\"351\" class=\"wp-image-412452\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-30.jpeg\" srcset=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-30.jpeg 602w, https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-30-300x175.jpeg 300w\" sizes=\"(max-width: 602px) 100vw, 602px\" \/><\/p>\n<p>To launch the application on Android, press the \u201cOPEN\u201d button:<\/p>\n<p><img decoding=\"async\" width=\"600\" height=\"346\" class=\"wp-image-412455\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-31.jpeg\" srcset=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-31.jpeg 600w, https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-31-300x173.jpeg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/p>\n<h3><strong>Step 5: Connect to Kali Nethunter Kex Server<\/strong><\/h3>\n<p>Now, provide the \u201c<strong>localhost:&lt;display no&gt;<\/strong>\u201d and port number that is automatically assigned for Kali Nethunter Kex VNC server in step 2. After that, enter the password that is set in step 1 of this section and press the \u201c<strong>Connect<\/strong>\u201d button. This will connect the Kali remote Desktop on Android:<\/p>\n<p><img decoding=\"async\" width=\"698\" height=\"1205\" class=\"wp-image-412457\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-32.jpeg\" srcset=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-32.jpeg 698w, https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-32-174x300.jpeg 174w, https:\/\/linuxhint.com\/wp-content\/uploads\/2024\/02\/word-image-412343-32-593x1024.jpeg 593w\" sizes=\"(max-width: 698px) 100vw, 698px\" \/><\/p>\n<p>Here, you can see we have effectively accessed the Kali\u2019s desktop by connecting with Kali\u2019s Nethunter VNC server:<\/p>\n<p>We have elaborated on the installation method of Kali Linux on Android.<\/p>\n<h2><a id=\"post-412343-y2lei34aafk7\"><\/a><strong>Conclusion<\/strong><\/h2>\n<p>To install the Kali Linux on Android, first, install the Terminal emulator on mobile devices such as Termux. After that, download the Kali Nethunter installation script using \u201c<strong>wget -O installer https:\/\/offs.ec\/2MceZWr<\/strong>\u201d command and make it executable. After that, execute the installer script in Termux and install the Kali on Android. To launch the Kali\u2019s terminal interface, run the \u201c<strong>nh<\/strong>\u201d or nethunter command.<\/p>\n<p>To access the Kali remote desktop, start the Nethunter Kex server in Termux. Next, install and open the Nethunter Kex app, provide the display number, port number, and Kex password and connect to Kali\u2019s remote desktop. We have covered the installation procedure of Kali Linux on Android.\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>To install Kali on android, first install termux on mobile. Then, install the Nethunter installer script and execute it to install Kali Nethunter on Android.<\/p>\n","protected":false},"author":181,"featured_media":412443,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1520],"tags":[],"class_list":["post-412343","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-kali-linux"],"_links":{"self":[{"href":"https:\/\/linuxhint.com\/wp-json\/wp\/v2\/posts\/412343","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxhint.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxhint.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxhint.com\/wp-json\/wp\/v2\/users\/181"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxhint.com\/wp-json\/wp\/v2\/comments?post=412343"}],"version-history":[{"count":0,"href":"https:\/\/linuxhint.com\/wp-json\/wp\/v2\/posts\/412343\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxhint.com\/wp-json\/wp\/v2\/media\/412443"}],"wp:attachment":[{"href":"https:\/\/linuxhint.com\/wp-json\/wp\/v2\/media?parent=412343"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxhint.com\/wp-json\/wp\/v2\/categories?post=412343"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxhint.com\/wp-json\/wp\/v2\/tags?post=412343"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}