Install latest termux-x11 official:
https://github.com/termux/termux-x11
or install one of the most stable versions and slightly modified for smoother experience from here:
and then
cd && pkg install wget && rm -rf ~/xfce4 && wget https://github.com/ar37-rs/xfce4-termux/releases/download/latest/xfce4 && chmod +x ~/xfce4
Install xfce4 dependecies
~/xfce4 install
Using virglrenderer driver (Universal GPUs)
(Read more for virgl additional usage)
~/xfce4 driver=virpipe
Using llvmpipe driver (Uiversal CPUs)
~/xfce4 driver=llvmpipe
Using llvmpipe driver + zink (Uiversal CPUs)
~/xfce4 driver=llvmpipe-zink
Using default driver can be combined with zink, kgsl for Adreno, amd for Xclipse or any supported other gpu drivers (if any)
~/xfce4 driver=default
and then simply start xfce
~/xfce4
Quite or terminate all xfce4 and 3d party process
~/xfce4 q
Solution for android 12+ with [Process completed (signal 9) - press Enter] issue: