Saturday 7 July 2018

How To Install LXDE In Kali Nethunter Of Termux Without Root

71 comments
Hax4Us

Hey , I am Lokesh and today I will tell you that how can we install LXDE Full Desktop Environment in termux using Kali Nethunter Without root :)

So First of all you will have to install Kali Nethunter from my latest script and if you have already installed so install it again otherwise LXDE may not properly install.

Don't know how to install Nethunter ? Click below :)

Install Nethunter In Termux

So now i am assuming you have Nethunter in termux and you did all necessary and compulsory steps from installation guide after installation.

Requirements

  • Minimum Storage : 1.5gb
  • Must be my subscriber 😂


Follow these steps or just paste commands one by one 






  1. First Update apt-get update 
  2. Install LXDE apt-get install lxde-core lxde kali-defaults kali-root-login desktop-base
Now take a cup of tea because it will take time and also depends on your Internet speed.

So now LXDE is installed but how to start ?

Follow these steps to start your LXDE session 

  1. Download and Install Xserver XSDL App From Play Store or Click here 
  2. Now open your installed app and download additional fonts ( 60 Mb) 
  3. Wait for 3-4 seconds 
  4. Now minimize the XSDL app and goto termux 
  5. Now execute this command in Nethunter DISPLAY=127.0.0.1:0 PULSE_SERVER=tcp:127.0.0.1:4712 startlxde &
  6. Go back to Xserver XSDL App and wait up to 5 seconds then you will get LXDE desktop environment 


Screenshots


Hax4us

Hax4us

Hax4us

Read More

Saturday 30 June 2018

Install Latest Java 9 In Termux Without Root

9 comments
Hax4Us
Update :- This method is not working now I will upload new post asap for java

Hey , I am lokesh and today I will share a simple guide in order to install Java Jdk/Jre.

So Just Follow Below Steps 





  • Install dirmngr and gnupg  apt install dirmngr gnupg-curl -y
  • Add PGP key apt-key adv --keyserver pool.sks-keyservers.net --recv 9D6D488416B493F0
  • Add Repo mkdir -p $PREFIX/etc/apt/sources.list.d && echo "deb https://termux.xeffyr.ml/ extra main x11" > $PREFIX/etc/apt/sources.list.d/list.list
  • Update apt update
  • Now you can install java jdk apt install openjdk-9-jdk-headless -y
Some Amazing Tutorials For Termux Lovers 
Read More

Thursday 28 June 2018

Little Guide Of Termux Basic Commands Part-2

1 comment
Hax4us

Hey , I am Lokesh today I am going to teach some more basic commands of termux.

In previous part we learnt about cd and ls so today we will learn about two more commands cp and mv.


cp





cp stands for copy. It is very simple but useful command. There are lots of option available in cp but I will cover only specific useful options so let's take an example for understanding the working of cp

I have two folders and one file in home directory



So I want to copy file1 into folder one. I will just write cp "resource" "destination" so here resource is file1 and destination is folder one so final command would be look like this cp file1 one



But it will work only if you are in current directory means a directory where both resource and destination exists but what if I want to copy a file from current directory to a folder which is not in current directory so it is also very simple task , again let's take an example

So now I am in $HOME directory of termux . $HOME means /data/data/com.termux/files/home , so in short I can say I am in home directory , so I have a file file1 and I want to copy this file into a folder two which is exist in folder one so my command for copy would be cp resource path/to/destination means cp file1 one/two


But what if resource and destination both are not in current directory ?

Simple , just write full path of both like this



Okk now we can copy Any file anywhere but what if i want to copy a folder in which my all files are present. For this cp has a option -R by which we can copy whole folder so let's take an example for understanding

I have two folders one and two and I want to copy folder one into folded two so I will write cp -R one two OR cp -R /path/to/one /path/to/two in the case when both folders are not exist in current directory


mv

mv stands for move. mv is just like a variation of cp with Deletion feature. Means cp only copies or create a duplicate copy of your resource without touching your original resource but mv will create a copy of your original content then delete original content. So cp + delete = mv . let's take an example to understand working of mv

I have a file file1 and folder one

I want to move file1 into folder one so I will write mv "resource" "destination" means mv file1 one



Same rule applied here if one of them resource or destination or both are not in current directory then we will have to give full path like this



Here we don't need of any -R option like cp in case of moving whole folder like below



Remarks :-


  1. Simple copy command for Any file in current directory cp resource destination
  2. For different directory cp /path/to/resource /path/to/destination
  3. For copy whole folder we need -R, cp -R wholefolder destination
  4. $HOME means /data/data/com.termux/files/home it means if you have a folder one in home and you want to copy folder one from anywhere so you will have to give full path but instead of giving /data/data....blah blah  you can write $HOME/one or $HOME/path/to/one if one is not in home 
  5. For  move whole folder you don't need -R
We will continue our journey in next parts of basic Termux command.
Read More

Tuesday 26 June 2018

Little Guide Of Termux Basic Commands Part-1

Leave a Comment
Hax4us
Hey , I am Lokesh today I am going to teach some basics commands of termux.

Well there is no difference between Linux commands and Termux commands so I can say almost command are same.

cd





cd means change the directory. Its very simple and basic command for beginners. Let's take some examples to understand the working of cd command.
Suppose that I have two folders in home directory of termux.


So I want to goto folder one means I want to change the current directory to one so its very simple just write name of folder or directory after cd  in which you want to enter so command would be like this


So now I am in folder one but wait now i want to go back so is it possible ? Yh just write two dots (..) after cd to go back one step like this


Note that there is a space between cd and two dots and same rule applied for all commands. There must be space after command name. Don't mixup the command with arguments like this


OK so now we know two things

  1. How to change directory or folder
  2. How to go back to my previous directory

ls 

ls stands for list. So as name suggests this command will give us list of current directory (if executed in current directory).

Confused ? :( OK Lets take an example :)

Suppose that I have two folders and one file in home directory of Termux but I want see all as a list so I will just execute ls (see screenshot)


But now I don't want to see list of current directory. Now I want to see list of my folder "one" so I will just write name of folder after ls ( see screenshot)


Now we know four things :
  1. How to change directory or folderw
  2. How to go back to my previous directory
  3. How to list all things in current directory
  4. How to list all things from any other directory.

We will continue our journey in next parts of basic Termux command.



Read More