Temux-desktop| use termux in a better way| use termux like desktop

 

How to use TERMUX GUI


Hey so in this post I am going to tell you how to use termux like a original linux screen ( GUI )as you can see in image above , use this in your android without root , this has a user friendly environment and you can see internal hidden folders with help of it which we can see in our fie manager , like if we download a package or clone a github repo we cant see it in our file manager , but in this we can see all and we can delete also , so let's start

Setup A Beautiful Desktop/GUI In Termux

Requirements :-

1. VNC viewer
2. termux api ( from play store )
3. 50-100MB mobile data
4. stable internet connection
5. 200-300mb storage
6. Termux App

Installation :-

After installing termux and termux api  applications above, open Termux and follow the steps below -

  • Update termux packages and install git
pkg upgrade && pkg install git
  • Clone this git repository, this installation will be little bit different from other, so copy this correctly 
$ git clone --depth=1 https://github.com/adi1090x/termux-desktop.git
$ cd termux-desktop
$ chmod +x setup.sh
$ ./setup.sh --install

If script fails during package installation (due to network issues or other ), you can re-execute it again.

this process can take upto 15-30 minutes  , be patient

  • During this installation process, you'll be asked to set up password for your termux GUI -
[*] Setting up VNC Server...

You will require a password to access your desktops.

Password:( this password will not be visible so type it correctly)
Verify: ( confirm the password )
Would you like to enter a view-only password (y/n)? n

type at least 6 digit password  Remember the password as it'll be required to connect you 

  • If everything is installed correctly , the GUI is ready this message will occur, it can change your termux appearance and make it more attractive
New 'localhost:1 ()' desktop is localhost:1 ( it can be any )

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              xxxxxx

That's it. Termux Desktop is installed successfully. now to start it  open a new session and type

$ startdesktop 

startdesktop

[*] Starting VNC Server...

New 'localhost:1 ()' desktop is localhost:1

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

Uninstallation

If you ever want to uninstall Termux Desktop, just run setup.sh --uninstall this script and delete the cloned repository to save space. this command will delete all file of "termux-desktop" from you device

./setup.sh --uninstall

Connection 

To connect it follow these steps -

1. open you VNC viewer , click on add option and follow these steps given in these pics

1. type startdesktop and look for your port

2. now open vnc click new connection just type the port ex-  :3 ,:4 etc as given by your termux now click create and then click that to start , i it shows in-secure connection just ignore it , as its your localhost only , type the password and click connect



Boom ! you just made your termux look like a linux desktop , ENJOY !!!

Post a Comment

أحدث أقدم