How To Install Kali Linux With KDE Desktop On Android | Termux

Welcome To BirdsInTech Blog, in this Article, I'd be writing on how to Install Kali Linux On Android but this time with the KDE GUI Desktop interface. In a tutorial I made previously, I wrote an Article on How To Install Kali Linux On Android Via proot-distro make sure you read that Article, as it is going to guide you on what's happening here.

Prerequisites:

Installation procedures:

Login to your Kali Linux Terminal and make sure it is up to date. Do that with the simple command
sudo apt update

Now install the KDE Desktop with the Command

sudo apt install kali-desktop-kde -y

Install some dependencies with the command

sudo apt install neofetch dbus-x11 -y

Let's create a connection shortcut with the simple Commands below.

echo "DISPLAY=:1 dbus-launch plasma_session" >> /usr/local/bin/startserver ; chmod +x /usr/local/bin/startserver

Now open a new Terminal to Termux and Install the required Packages to connect to vnc, do them with these commands

pkg install x11-repo -y

Then install vncserver and Xserver with the command

pkg install tigervnc xorg-xhost

Now we create a local server and make it public with the command below

vncserver -geometry 1600x700 -listen tcp :1 ; DISPLAY=:1 xhost +

Note vnc geometry depends on the screen resolution of your Android phone.

Now switch back to your Kali Linux Terminal and connect to the local server you just created with the command
startserver

Now You can open Your vnc Application and connect To the localhost:1 and your KDE GUI interface should be displaying.

Watch the video here

1 Comments

Previous Post Next Post