In this blog post we will cover the major problems of the kali Linux and their solution. Many beginners face these problems when they start with kali Linux, but don’t worry, we are here to help you with best solutions.
1. UNABLE TO LOCATE PACKAGE:
Sometimes when you execute the command (sudo apt-get install +tool name) to install any software online then this problem is faced because your kali Linux repository is old from which you are trying to install your software or tool. So, you need to update your repository of kali Linux to install latest tools.
To solve this problem open your terminal and run these two commands one by one in terminal and your issue will fix soon.
(echo "deb http://http.kali.org/kali kali-rolling main contrib non-free non-free-firmware" | sudo tee /etc/apt/sources.list)
(echo "deb http://http.kali.org/kali kali-last-snapshot main contrib non-free non-free-firmware" | sudo tee /etc/apt/sources.list)
2. UNABLE TO UPGRADE AND UPDATE:
This problem is faced when you use (sudo apt-get update) and (sudo apt-get upgrade) commands to update and upgrade your kali Linux.
The solution of this problem is same as I have told in first problem.
3. PERMISSION DENIED:
This problem is faced when you execute a file. Sometimes a file did not have a permission to read, write and execute. So this problem is faced.
To solve this problem give permission to file using command (sudo chmod +777 +file name) for example (sudo chmod +777 file.txt).
4. FONT SIZE PROBLEM:
Sometimes your font size of the kali Linux becomes very short and you could not read the text in terminal and on other applications.
To solve this problem go to the Firefox and search here that (bit.ly/kali-fonts) then download the file as shown in the figure. It is the zip file so extract it and copy all the files present in it. Then go to (file system), then open folder (usr), open folder (share) and then open the folder (font) and paste all your files that you copied in the folder (font). Then your problem will fix and now you can read every text in your kali Linux.
Download it
5. LOGIN LOOP PROBLEM:
This problem is not most common problem and it is faced when our kali Linux is overloaded. When our disks are overloaded and there is no free pace in them.
When we enter our username and password then our desktop is not appeared and again username and password is required.
But usually it is not faced and after some attempts desktop is appeared.
To avoid this problem your disks must have free spaces. And our Linux computer must be powerful.
6. HIDING OF DESKTOP ICONS:
Sometimes when we update an upgrade our kali Linux then desktop icons did not show.
To solve this problem click on the Applications Menu in corner of taskbar and search here (Extensions) and open the extensions and enable the option (Dash to Dock) as shown in the figure. So, your issue will fix.
Enable the highlighted option
7. SUDO SU PROBLEM:
We use the command (sudo su) to get the temporary (root) access or for temporary (root) user but sometimes we could not get the root access by using this command.
To solve this problem open hosts file in (etc) folder and change your host name as shown in the figure. Now your problem will fix.
8. TIME AND DATE SETTING:
It is also a problem in kali Linux. Most of the new users face it because it is not easy to set time in kali Linux like windows.
Time can be set by using following commands;
(dpkg-reconfigure tzdata)
(Asia) or any other part of earth where you live
(Karachi) or any city according to your location
(timedatectl status)
(timedatectl set-timezone)
(timedatectl set-timezone Asia/Karachi) you can choose other city according to your location.
(timedatectl set-timezone UTC) you can also use your own time zone
(timedatectl set-time “ YY-MM-DD HH:MM:SS”)
For example (timedatectl set-time “2020-04-05 06:7:45”)
But time must be same to city time which you selected.