LinuxTermux Style

Install A Beautiful Termux Desktop GUI Not Root (Archcraft OS)

Install Archcraft OS in Termux | About Setup A Beautiful Desktop/GUI In Termux | Install Beautiful Desktop Environment on Termux | Termux Desktop

Ok, let’s get straight to the point, here are some dots and text to help you set up a click environment in termux. I have tried to make it as easy as possible to set up a beautiful Linux desktop on your android device using termux, so follow the steps and you will end up like this.

So I was looking for a ready-to-use Arch Linux with only Window Manager options and found this Archcraft OS. Here’s a quick overview of the Archcraft operating system if you plan to try it out.

Archcraft OS is a free and open-source operating system (OS) based on Arch Linux. Developed by one person, this Linux distribution promises to be “pure” Arch as in – it’s exactly the same as a vanilla Arch Linux installation.

The main difference between this distribution is that it only contains the OpenBox window manager (WM) and has no desktop environment. Openbox provides very minimal memory and processing power requirements – allowing you to use more RAM and CPU on the same hardware.

The user interface is beautiful with pre-installed Openbox themes and nice wallpapers. It gives you the ability to configure Openbox with pre-installed settings managers.

 

What is termux?

Termux is an Android terminal emulator and Linux application that works directly without rooting or setup. A minimum base system is automatically installed – additional packages are available using the PKG/APT package manager. More info…

 

First Impression

 

Requirements :

To install Windows7 on Android, you will need to download some apps on your Android phone.

  1.  Termux Application
  2.  VNC Viewer Application
  3.  Internet
  4. Termux API app

 

Video:-

 

Video HackTube Link:- https://www.hacktube.xyz/v/X8e9CJ

 

✅ Installation ✅ 

 

Step_1Download the Termux app

  • First, open the F-Droid.org Website / App on your Android phone.
  • Search for the Termux app.
  • And install it on your Android phone by clicking the Download button
  • And it will download to your phone.

Note: It’s safe because you downloaded it from Google Playstore and every app you get from Playstore is safe.

 

 

Step_2 – Open Termux & Type Commands

  • First, open the Termux app on your phone.
  • This automatic installation and setup of some packages will take some time.
  • After fully starting the termux,
  • update & upgrade termux all the packages.
  • Enter the commands I mentioned one by one –

 

1) First open the Termux app and type “apt update && apt upgrade –y” and press enter

apt update && apt upgrade -y

2) Now we need to give the storage access to termux for this type “termux-setup-storage” and press enter.

termux-setup-storage

 

3) Now install the required api package for this type “pkg install termux-api

pkg install termux-api

4) This command will install the git, which is necessary to run the system on Android.

pkg install git -y

 

 

 

Step_3 – Install & Setup :

 

1) Next, we are going to clone some Termux Desktop files from the Aditya Shakya Github repository. Clone Termux Desktop in the repository using the following command:

git clone --depth=1 https://github.com/adi1090x/termux-desktop.git

⚠ Warning: I’m assuming you’re doing this on a fresh install of termux. If not, I suggest you do so. However, the setup.sh script backs up every uploaded file, it is still recommended to back up the files manually to avoid conflicts.

 

2) If the file download process is complete, open termux again and type ls to see the contents of your termux directory. Look for a directory called “termux-desktop” and move to that directory using the cd termux-desktop command.

If you are already in the termux-desktop directory, you will find the setup.sh file. To install the required files, we run the setup.sh file with the following command:

cd termux-desktop
chmod +x setup.sh

3) Next, let’s install the Archcraft OS Termux Desktop with the command:

./setup.sh --install

 

If the setup.sh script fails during package installation (due to network issues), you can run it again.

 

4) This installation process may take some time to install all required applications. When the process is running, there are several configurations, such as setting the password of the VNC server, which we will use for authentication when opening it in the VNC Viewer. So please pay attention.

[*] Setting up VNC Server...
 
You will require a password to access your desktops.

Password:
Verify:
Would you like to enter a view-only password (y/n)? n
 

💥 Notes: Remember that passwords are not visible as you type and the minimum password length is 6 characters. Remember the password you entered as it will be required to connect via the vnc client.

5) If everything is okay, you will see this message –

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

[*] Creating Launcher Script...

[*] Script /data/data/com.termux/files/home/.local/bin/startdesktop created successfully.
[*] Termux Desktop Installed Successfully.
[-] Restart termux and enter startdesktop command to start the VNC server.
 

6) Please restart Termux and reopen it. with the command:

exit

 

Step_4 – Start Termux Desktop GUI :

After everything is installed, you will see Termux change its appearance to make it cooler. Restart Termux and open it again.

And it is done. Termux Desktop is successfully installed. Restart Termux and type startdesktop to start vncserver and connect via VNC client.

startdesktop

❌ This Message Show Type Y . Kill an old vnc server. and type startdesktop command again

$ startdesktop
[!] Server Already Running.

TigerVNC server sessions:

X DISPLAY #     PROCESS ID
:1              671

Kill VNC Server? (Y/N) : Y
 

✅ This Message Show Your VNC Server Start Working

$ 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
 

 

 

Step_5 – Download the VNC Viewer application

  • First, open Google PlayStore on your Android phone.
  • Search for VNC Viewer.
  • And install it on your Android phone by clicking the install button
  • And it will download to your phone.

Note: It’s safe because you downloaded it from Google Playstore and every app you get from Playstore is safe.

 

Step_6Configuring & Connecting to VNC :

Now we need to run our Windows 7 on the VNC Viewer for GUI so follow the steps –

    • First, open the VNC viewer application. After clicking Enter in the above command
    • Click the “+” Sign to create a new connection, and enter the value as follows.
    • Then a dialogue box will open where you have to fill 2 items –
      • IP address
      • Computer name
  • Enter the IP address –
IP Address127.0.0.1:5901
Computer NameTermux Desktop
  • Click Connect and wait for the connection to be established.
  • Wait for the boot process to complete, the boot process may take about 10-15 minutes for the first boot and 2-3 minutes for the next boot.

Determine the port number on which the VNC server listens. This can be calculated as: 5900 + {displayed number}. So to display ‘localhost:1’ the port will be 5901.

Now open VNC Viewer and create a new connection with the following information (assuming the port is 5901) –

Now run it. You will be prompted for the password you entered during installation. After entering the password, you will be redirected directly to this desktop

 

 

 

✅ Uninstallation ✅ 

If you ever want to uninstall Termux Desktop, just run setup.sh with the –uninstall option. Just keep the setup.sh script and delete the cloned repository to save space. I will create a separate uninstall script later. The command below will remove all packages and remove any configuration files it installed, including any changes you made. Be careful there…

./setup.sh --uninstall

 

 

💥 Keybindings ( Shot Key ) 

 

Here’s some shortcut keys you want to use to speed up your work. For more, Right click on desktop > Keybinds

KeysAction—–KeysAction
W-1Go To Desktop 1S-W-1Send To Desktop 1
W-2Go To Desktop 2S-W-2Send To Desktop 2
W-3Go To Desktop 3S-W-3Send To Desktop 3
W-4Go To Desktop 4S-W-4Send To Desktop 4
W-5Go To Desktop 5S-W-5Send To Desktop 5
W-S-LeftSend To Prev DesktopW-S-RightSend To Next Desktop
A-TabNext Window (Current Workspace)W-TabNext Window (All Workspaces)
W-hMove to TopLeftW-jMove to BottomLeft
W-kMove to TopRightW-lMove to BottomRight
W-LeftMove To Left EdgeW-RightMove To Right Edge
W-UpMaximizedW-DownUnmaximized
W-q/cClose WindowsA-r/mToggle Resize/Move
W-SpaceOpenbox MenuW-p/A-F1App Launcher
W-dToggle DesktopW-vSet Tasks
W-fFile ManagerW-eText Editor
W-t/returnTerminalW-wWeb Browser
W-xExit MenuW-mMusic Menu
W-bBattery MenuW-nNetwork Menu
C-A-vVimC-A-rRanger
C-A-hHtopC-A-nNano

Styles:

There are a total of eight different styles/themes available in this setting. To change the style, right-click on the desktop > Preferences > Change Style and select the one you want to use.

 

Termux Desktop Application:

Well, these are some ideas or things you can do with the termux desktop. From learning to code to penetration testing, chatting via IRC to browsing the web and downloading files, playing classic retro games to running Windows from the 90s.

SUMAN

Hello, I'm SUMAN from India. Learn about the termux app from Beginner to pro, At this Site, you will get all the working termux tools, I am also posting the best Termux GitHub tools.
guest
1 Comment
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Aʙʜɪɴᴀɴᴅᴀɴ

ᴘʟᴢ ᴍᴀᴋᴇ ʜᴏᴡ ᴛᴏ ʜᴀᴄᴋ ғᴀᴄᴇʙᴏᴏᴋ ᴘᴀssᴡᴏʀᴅ ᴘʟᴢ

Back to top button
1
0
Would love your thoughts, please comment.x
()
x