How To Install Xterm In Termux

Share:
Here I will give you a tutorial how to install the GUI (graphical user interface) or in Indonesian means graphics display interface 




To install the GUI on termux need some customization in need because some module and package 

Module and package that is needed to install the GUI on Termux not available in the official repo 

But already there is one contributor who porting the GUI that can be run using Termux 

So we have to add the extras repo dull that makes us the package that installs without the need to manually compile

How to Install Xterm Using Termux


Because today Termux not support DE (Desktop Environment) as LXDE, XFCE, Gnome, Cinnamon, Mate, etc. 

And now the new support Xterm but in a sense it is enough for the purposes of running the tools that needs X windows 

The first phase is to install the GUI to add the extras repo xeffyr do the following steps 

1 pkg install wget gnupg 
2. wget https://xeffyr.github.io/termux-x-repository/pubkey.gpg 
3. apt-key add pubkey.gpg 


Then add the following line based on your device architeture folder /data/data/com.termux/files/usr/etc/apt/source.list 

## For AArch64 
deb [arch = all, aarch64] https://xeffyr.github.io/termux-x-repository/ termux x-gui 

## For ARM

deb [arch = all, arm] https://xeffyr.github.io/termux-x-repository/ termux x-gui 

## For i686 
deb [arch = all, i686] https://xeffyr.github.io/termux-x-repository/ termux x-gui 

## For x86_64 
deb [arch = all, x86_64] https://xeffyr.github.io/termux-x-repository/ termux x-gui

Note: use landscape mode when editing files on source.list that the paste does not cut   Usually in need of at most 10 minutes to hash of pub.key can read. 
The second stage module and install the package that is needed to run the GUI
apt install xorg-x11-server proto xorg-xauth xterm TigerVNC openbox
Then make the VNC password, type the command "vncpasswd" without the quotes and then enter the password that is desirable.

How to Run Xterm

Xterm to run applications in need of a VNC viewer you can download it through playstore 

Type "startx" without the quotes in the terminal to run the service TigerVNC, after the opening of applications that you use VNC 


Address: 127.0.0.1:1 
Name: termux

Later there will be a form to fill in the password you enter the password that you created earlier 

To turn off service  Tiger VNC the following command in the terminal 
       -kill vncserver: 1

Note: For device arm still some modules that are not yet available

1 comment: