Easily Install Gnome Desktop in Termux
- 🔈 Fixed Audio Output
- 🌐 2 Browsers (Chromium & Mozilla Firefox)
- 📺 VLC Media Player work fine
- 📚 Easy To Setup
- 💻 Login Issue Fixed
- 💻 Termux:x11 For Display Server
- 🔨 Gnome Software Preinstalled (working)
- 📚 And Much More
This is just for test so don't think everything will work
If one distro don't work so try another one
- If you are using android 12 or higher then first disable phantom process killer Tutorial
- Install Termux apk from HERE
- Now copy pest this in termux 👇
-
curl -Lf https://raw.githubusercontent.com/sabamdarif/gnome-in-termux/main/setup.sh -o setup.sh ; bash setup.sh
-
Now Select CORE Or FULL(recomended)
-
- Use Termux:x11 (Better then VNC)
- Enjoy 😄
If it doesn't work, then don't ask me because it didn’t work for me either
vnc setup steps:
For Debian Based Distro sudo apt install tigervnc-standalone-server tigervnc-tools -y
mkdir -p "$HOME/.vnc"
nano $HOME/.vnc/xstartup
export XDG_CURRENT_DESKTOP="GNOME"
gnome-shell --x11 # paste it inside xstartup file
chmod +x "$HOME/.vnc/xstartup"
sudo echo "$YOUR_USER_NAME ALL=(ALL) NOPASSWD: /usr/sbin/service dbus start" | sudo tee -a /etc/sudoers
sudo nano /bin/vncstart
#!/usr/bin/env bash
sudo service dbus start
vncserver -geometry 2580x1080 #Add your screen size
sudo chmod +x /bin/vncstart
sudo nano /bin/vncstop
#!/usr/bin/env bash
if [ "\$1" == "-f" ]; then
pkill Xtigervnc
else
vncserver -kill :*
fi
rm -rf /.vnc/localhost:*.pid
rm -rf /tmp/.X1-lock
rm -rf /tmp/.X11-unix/X1
sudo chmod +x /bin/vncstop
- Type
DISTRO-NAME
to login into DISTRO CLI. - Type
DISTRO-NAME -r
to login as root user - Type
DISTRO-NAME -tx11
to use gnome with Termux-x11 - Type
DISTRO-NAME -remove
to remove the distro
Like If You Install Debian So Just Type debian -r / debian -tx11 / debian -remove
- In future if you upgarde the system the desktop will fail to launch.
- First stop gui and relogin into your distro cli
- Then run the below command inside your distro then start gui again
for file in $(find /usr -type f -iname "*login1*"); do rm -rf $file
done