Bkjia: In this article, I have figured out several things that will always be done after installing a brand new Kali Linux. Since I have multiple laptops and workstations, we recommend that you expand the scope of the following steps to meet your needs. This is the 20 things I did after installing Kali Linux. Your requirements may be totally different. If you have any suggestions, please leave a message. Leave a message without registration. You are welcome to give feedback and make comments.
This article contains everything I think is useful. This article consists of three parts:
Kali Linux is a special version from Debian. Kali Linux also has many problems with Debian Linux. This section describes how to solve these problems. They are not a problem specific to Kali Linux, so you don't need to worry about them. However, when I see errors, obsessive-compulsive disorder will occur, which is not a solution.
This part brings together a group of useful tools and software. These are the daily software in most other Linux distributions, or at least I think they should appear as part of the default installation system.
- Improvement and auxiliary functions
Kali Linux is inherently fast to start and consumes less resources. However, if you have some CPU and GPU capabilities available, try to make Kali Linix look better.
Dedicated for Kali users
1. Fixed the "unable to host devices" error for wired networks.
If you want the NetworkManager network Manager to process the interfaces enabled in/etc/network/interfaces, you only need to set managed = true in/etc/NetworkManager. conf. Therefore, the file looks like:
- [main]
- plugins=ifupdown,keyfile
- [ifupdown]
- managed=true
Please read the full text: "unable to host devices" error for resolving wired network interfaces in Debian or Kali Linux.
2. Fix the default software library
The simplest way is to edit/etc/apt/sources. list, remove each line or comment each line with # At the beginning, and add the following lines:
- leafpad /etc/apt/sources.list
Use the following lines to comment out or remove existing configurations:
- ## Regular repositories
- deb http://http.kali.org/kali kali main non-free contrib
- deb http://security.kali.org/kali-security kali/updates main contrib non-free
- ## Source repositories
- deb-src http://http.kali.org/kali kali main non-free contrib
- deb-src http://security.kali.org/kali-security kali/updates main contrib non-free
Save and close the file. For more information, see add an official Kali Linux software library.
3. Update, upgrade, and release version upgrade
Clean, update, upgrade, and release the installed Kali.
- apt-get clean && apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y
4. Solved the PulseAudio warning problem.
This warning message pops up frequently in my Kali:
- [warn] PulseAudio configured for per-user sessions ... (warning).
A similar warning message is displayed during the startup of the Debian variant. To solve this problem, type the following command:
- leafpad /etc/default/pulseaudio
Find this line:
- PULSEAUDIO_SYSTEM_START=0
Replace 0 with 1:
- PULSEAUDIO_SYSTEM_START=1
Where, 0 indicates that PulseAudio is not started in system mode, and 1 indicates that PulseAudio is started in system mode.
- reboot
For details, see the article solving PulseAudio configured for per-user sessions... warning in Kali Linux.
5. Make sure the sound is triggered at startup.
Follow these steps to resolve the problem of no sound at startup in Kali Linux.
- apt-get install alsa-utils -y
In GNOME desktop, the default is Kali desktop:
Right-click the volume icon and select Sound Preferences ).
In addition, you can also choose Applications> System Tools> Preferences)> System Settings> Sound to call up the same options.
Switch the Output volume) slider to ON, similar to the following screen. This is what you have to do. Close the Sound) window.
For more information, see the article "Solving the Problem of no sound at startup in Kali Linux.