How To Install Termux Desktop On Your Android phone

 

Welcome to my Blog, in this Article, I'm gonna show you how to install a desktop Environment on your Termux terminal, this way you will not only be able to use Termux through the local terminal alone, but through GUI, this helps you Access Applications and tools that depends on desktop Environment to properly function.

Prerequisites:

  1. Termux
  2. Vnc viewer

Procedures:

After installing Termux, open your terminal and upgrade your packages, you can do that with the command;

pkg update

After that we're going to install a package called x11, (x11 is a software package and network protocol that lets you interact locally, using your personal computer's display, mouse, and keyboard, with the graphical user interface (GUI) of an application running on a remote networked computer). You can install x11-repo with the command;

pkg install x11-repo

Now that x11 has been installed, we're going to install the xfce desktop Environment and tigervnc (a package that allows us connect to the desktop Environment using a local server). You can install this packages with the command;

pkg install tigervnc xfce4 xfce4-whiskermenu-plugin xfce4-terminal git

After the above packages has been installed, you can now connect the xfce packages to the local server and then access it through a third party application called vnc viewer, do that with the commands below;

vncserver -geometry 1600x700;env DISPLAY=:1 xfce4-session

The command above will connect xfce to localhost :1, you will be required to create a desktop Environment password only the once, which is the first time you connect;

Open your vnc application and connect to your GUI interface. See video below to see practical ways of following this procedures.

This is what the GUI interface looks like the very first time you log in to it, we'd agree that this interface isn't that professional right?, So let us import some beautiful wallpapers into this terminal, do that with a single click using the command below;

cd $PREFIX/share/backgrounds;git clone https://github.com/birdsintech/Birdxfce;cd Birdxfce;tar -xvf Birdlinux.tar.gz;mv Birdlinux 8104776.png ..;cd ..;rm -rf Birdxfce;cd

After this you can now go to your Desktop settings and change your wallpaper. You can also make some changes to your panel, and yes you're good to go with your Desktop environment. Below is a look at what my Desktop looks like after the settings has been completed.

Xfce Desktop Termux
Termux Desktop
You can Always Disconnect Your server by using the command;

vncserver -kill :1

If you have any questions regarding this Article or any other Article that I've written, please do let me know in the comments section below. That's all for now, see you in the next one

Watch the video here

Post a Comment

Previous Post Next Post