How To Install Kali Linux LXDE Desktop On Android | No Root

 


Hello guys welcome back to my Blog, in today's article I'm gonna write on how to install Kali Linux LXDE desktop environment On Android, in our previous articles, I have explained what Kali Linux is and how to install it on Android, but in today's Article, what I'm going to show you is how to install the LXDE desktop environment on Kali Linux.

Prerequisites:

Termux

Nethunter kex

Procedures:

Login to your Kali terminal and make sure your repository is up to date, to do make sure of that you can use the command:

  • apt update && apt upgrade 
After your repository has been updated the next thing we do is proceed to the LXDE desktop installation process. Install LXDE with the command:
  •  apt install lxde-core lxde Kali-defaults kali-root-login -y
The desktop installation and extraction process would take a while, be patient. after the complete installation of the desktop environment, we're going to install some extra plugins to Kali Linux. You can install this packages with the command below.
  • apt install qterminal dbus-x11 firefox-esr tigervnc-standalone-server kali-themes -y

Now after the above packages has been installed, the next thing we're going to do is of course, login to our Desktop interface, due to lag I usually get from the usual vncserver method, I prefer logging in using another method that I call the TCP method that I'm gonna show you in the next step.

Logging In To desktop environment using (TCP method)

Open a new terminal to Termux and update Termux packages using the command

  • pkg update 
After updating packages, the next thing you'd do is install x11-repo. You can do that with the command
  • pkg install x11-repo 
Aftet installing x11-repo, you'd install tigervnc and an X server. To do that use the command
  • pkg install tigervnc xorg-xhost 
Now launch vncserver on Termux with the command
  • vncserver -geometry 1600x700 -listen tcp :1
After launching the sever we're going to make it available for connection on any localhost server using the command
  • DISPLAY=:1 xhost +
No switch back toy your Kali Linux session and connect your LXDE to the local server using the command.
  • DISPLAY=:1 dbus-launch lxsession
 Now launch your Vnc Application and connect to your LXDE desktop the usual way. And if you have any question, feel free to let me know in the comments section below.

Watch the video here 


Post a Comment

Previous Post Next Post