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 -yThe next essential steps is to install the X11 repository
pkg install x11-repoNext step: Install TigerVNC
pkg install tigervncOn first start, the VNC server will prompt for a password
vncserverThe next step is to install the XFCE4 desktop environment
pkg install xfce4Next, configure the ~/.vnc/xstartup
nano ~/.vnc/xstartupNote: 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 -listvncserver -kill :8The reset password, type
vncpasswd