echofhxs

Install GUI on Android

✅ Minimum requirements

  • Android: 7.0 (Nougat) or higher
  • Architecture: ARM64 (aarch64)
  • Available RAM: 1 GB free
  • Free internal Storage: 2GB

This is the absolute minimum to start and run XFCE4. Performance may be limited

👍 Recommended requirements

  • Android: 8.0 or higher
  • Available RAM: 1.5 GB free or more
  • Free internal storage: 3 GB or more

steps

Install termux on F-droid

After installation, open Termux and type the following command in the prompt

pkg update && upgrade -y

The next essential steps is to install the X11 repository

pkg install x11-repo

Next step: Install TigerVNC

pkg install tigervnc

On first start, the VNC server will prompt for a password

vncserver

The next step is to install the XFCE4 desktop environment

pkg install xfce4

Next, configure the ~/.vnc/xstartup

nano ~/.vnc/xstartup

Note: This is my personal xstartup configuration.

#!/data/data/com.termux/files/usr/bin/sh ## This file is executed during VNC server ## startup. # Launch terminal emulator Aterm. # Requires package 'aterm'. #aterm -geometry 80x24+10+10 -ls & # Launch Tab Window Manager. # Requires package 'xorg-twm'. xfce4-session & xhost + &

You can copy and paste this into the ~/.vnc/xstartup.

Press Ctrl + O to save the file, press Enter, then Press Ctrl + X to exit

We need to install the RealVNC Viewer app to run the graphical interface

⚙️ After installing RealVNC, type vncserver in your terminal

You will see something like this

New 'localhost:10 ()' desktop is localhost:10 Starting applications specified in /data/data/com.termux/files/home/.vnc/xstartup Log file is /data/data/com.termux/files/home/.vnc/localhost:10.log

Add the address localhost:8 in RealVNC Viewer, then enter the password you configured

To finish, check with addresses are running

vncserver -list
vncserver -kill :8

The reset password, type

vncpasswd