How to Install Termux-Desktop
Hii folks Welcome back you my new post in this post i will show you How to install Termux-desktop
Required Apps:
What is Termux?
Termux is an Android terminal emulator and Linux environment app that works directly with no rooting or setup required. More Here...How to Install Termux?
Install Termux & Termux:API on your phone.Installation
After installing both applications above, open Termux and follow the steps below:
pkg upgrade && pkg install git
Clone this Repository
git clone https://github.com/adi1090x/termux-desktop.git
Warning: I'm assuming that you're doing this on a fresh Termux install. If not, I'll suggest you to do so.
Run Setup Script
cd termux-desktop
chmod +x setup.sh
./setup.sh --install
ERROR
If script setup.sh fails during package installation (due to network issues), you can re-execute it again.VNC Server Setup
During installation, you'll be asked to set up a password for VNC:
Password: your_password
Verify: your_password
Would you like to enter a view-only password (y/n)? n

New 'localhost:1 ()' desktop is localhost:1
Creating default startup script /data/data/com.termux/files/home/.vnc/xstartup
Creating default config /data/data/com.termux/files/home/.vnc/config
Starting applications specified in /data/data/com.termux/files/home/.vnc/xstartup
Log file is /data/data/com.termux/files/home/.vnc/localhost:1.log
[*] Server Is Running...
TigerVNC server sessions:
X DISPLAY # PROCESS ID
:1 XXXXX
It means that X (vnc) server is available on display 'localhost:1'.
Connecting to VNC Server
To connect to the VNC server, follow these steps:- Open VNC Viewer on your Android device.
- Enter the following details in VNC Viewer:
- Address: localhost:1
- Password: your_vnc_password
- Tap Connect to establish the connection.
Note: Replace your_vnc_password with the password you set during VNC server setup.
Starting Termux Desktop
To start Termux desktop, follow these steps:- Open Termux on your Android device.
- Run the following command to start the desktop:
startdesktop
- The Termux desktop will start, and you can access it using the VNC viewer app.