20 things to do after installing Kali Linux 1.x
I’ve compiled a small list of things that I always perform after installing a fresh copy of Kali Linux in this post. Because I got multiple laptops and workstations, I’ve tried to generalize the following instructions to suit everyone’s(including mine??) requirements. This is my top list of 20 things to do after installing Kali Linux. Your requirement’s might be completely different. If you have a suggestion, let me know via comments section. You can comment without registering.. so that’s an easy way to give me feedback and opinion.
WARNING: Following guide was written and tested for Kali Linux 1.x. I am working best to write a guide on Kali Linux 2.0 – Kali Sana. Use this guide at your own risk for Kali Linux 2.0 – Kali Sana.
Table of Contents
Standard Packages:
Standard packages contains anything and everything I found useful. This list if divided into 3 parts:
- Kali Specific
Kali Linux is a special build from Debian. Kali Linux inherits a lot of the issues from Debian Linux. This section shows you how to resolve of those. They are not specific to Kali Linux only and you might be leave them as it is, but I found that if I see an error my OCD kicks in and I have to make it go away…
- Useful utilities and Software’s
A collection of utilities and software’s I found useful. These are day to day software’s that are available in most other Linux distributions or at least I think they should be made available as part of a default installation.
- Enhancements and accessibility
Kali Linux is made to boot up fast and low of resources. But if you have some more CPU and GPU power to spare, you might want to try to make it look more colorful.
Kali Specific:
1. Fix Device not managed error – wired network
If you want NetworkManager to handle interfaces that are enabled in /etc/network/interfaces
: Set managed=true
in /etc/NetworkManager/NetworkManager.conf
. So this file looks like:
[main] plugins=ifupdown,keyfile [ifupdown] managed=true
Read the full article on fixing Wired Network interface “Device not managed” error in Debian or Kali Linux.
2. Fix default repository
The simplest way is to edit the /etc/apt/sources.list remove or comment every-line with # at the front and add the following lines..
leafpad /etc/apt/sources.list
Comment or remove existing config with the following lines:
Kali Linux 2.0 – Kali Sana users – Use the following Repo list:
# Regular repositories deb http://http.kali.org/kali sana main non-free contrib deb http://security.kali.org/kali-security sana/updates main contrib non-free # Source repositories deb-src http://http.kali.org/kali sana main non-free contrib deb-src http://security.kali.org/kali-security sana/updates main contrib non-free
Kali Linux 1.x users – you can keep using the repo below:
## 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.
Kali Linux 1.x details and explanations can be found in adding official Kali Linux 1.x Repositories page.
Kali Linux 2.x – Kali Sana details and explanations can be found in adding official Kali Linux 2.0 – Kali Sana Repositories page.
3. Update, Upgrade, Dist-Upgrade
Clean, update, upgrade and dist-upgrade your Kali installation.
apt-get clean && apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y
4. Fix PulseAudio warning
My Kali throws me this warning:
[warn] PulseAudio configured for per-user sessions ... (warning).
Debian variants also throws similar warning during boot.To fix this do the following:
leafpad /etc/default/pulseaudio
Find this line:
PULSEAUDIO_SYSTEM_START=0
Replace 0 with 1
PULSEAUDIO_SYSTEM_START=1
Where, 0 = don’t start in system mode, 1 = start in system mode
reboot
I am having second thoughts about this step, refer to the whole article below to know WHY! If you have a suggestion about it, leave that on that article so that I can sort through them and pick the best one.
Details and explanations can be found in Fixing PulseAudio configured for per-user sessions … (warning) in Kali Linux page.
5. Enable sound on Boot
Follow the steps below to fix sound mute in Kali Linux on boot
apt-get install alsa-utils -y
In GNOME Desktop (The default Kali Desktop)
- Right Click on the small volume ICON and select Sound Preferences
- Alternatively, you can also go to Applications > System Tools > Preferences > System Settings > Sound to bring up the same options.
- Use the Output volume slider to ON, shown similar the screenshot above. That’s it you’re done. Close Sound window.
Details and explanations can be found in fixing sound mute in Kali Linux on boot page.
221 comments
nice writing
can you provide some link for learning hacking with kali linux
thanks
The result was a loss of wifi capability, freezing of file manager and gnome desktop BUT the odd part was that it was persistent for several reboots and the desktop still freezes as of this the 5th restart. Can anyone help me understand this phenomena?
the first half of my previous comment was cut. here is what it said.
Earlier today I noticed this character “☻”. So i decided to play with it.
I renamed a bash file “☻” and had another bash file call it like this
“xterm -e sudo ~/Desktop/MACcerb/☻”. The result was a loss of wifi capability, freezing of file manager and gnome desktop BUT the odd part was that it was persistent for several reboots and the desktop still freezes as of this the 5th restart. Can anyone help me understand this phenomena?
How to install Broadcom wireless drivers BCM43142a0 for my Dell inspiron 15 3520 please help
What website can I refer to get these different themes? Also, how do I know whether I have GTK2+ or GTK3+? Thx
i was not able to install software-center . am getting errors when i hit apt-get install software-center. in terminal. Down gives the error..
What should i do?
Reading package lists… Error!
E: Unable to parse package file /var/lib/apt/lists/http.kali.org_kali_dists_kali_main_binary-amd64_Packages (1)
E: The package lists or status file could not be parsed or opened.
how to install python in kali linux
In the last section unlocking gpu possessing how would I do that if i have a intell computer
If you have an Intel computer with dedicated (ATI/Nvidia) graphics follow the how to in ‘section 4’ of this great guide, if you’re stuck with Intel integrated (built-in) graphics like Intel’s Iris® Graphics, Intel® HD Graphics or basically just Intel® Graphics Technology then you’re out of luck I’m sorry to say… Build yourself a cheap ‘desktop’ with a dedicated GPU graphics card if you really want to harness the power of GPU processing; there are a few great cards from both major vendors that won’t break the bank & still offer fantastic processing power. If you’re new to Linux then get used to spending a little more time with Google (or any other search engine)…
Thank you sir… for your usefull information… i was surfing web since i installed kali linux. i am beginner.. i found your article as very usefull to me… thanks a lot
Step 10 is working all the way through to the last stage, but just gets stuck when trying to add any new ppa: changed the codename from Oneiric to Trusty. Here is the image: [a href=”https://chamundesigns.files.wordpress.com/2015/07/step10.png”]Image[/a]
i already have install gnome-tweak-tool.but after several days can’t open advance setting and change my gnome theme.so how i can fix this error.can u help me
A quick note to new users: blackMORE Ops gets more likes & thanks, post-to-post, than he/she/they can thank personally, so don’t take it personally if you don’t get a direct reply to YOUR post. If you do post a question that doesn’t get answered, well then welcome to the real world of *nix: you’ve probably asked for something you can find a quick solution for via Google. If you do find a solution, then come back & post it to help other new users. Now you’re a real contributor… A lot of these questions have actual solutions right here on blackMORE Ops; you don’t have to look very far at all… If you want to become proficient with Kali Linux you’ll need to start digging deep & give up the spoon-feeding you’ve become accustomed to. I’ve spent at least two hours a day for 18 months sharpening my skills with Kali & I still come back to this guide for any new install. Rock on blackMORE Ops; you’ve helped me more than any other Kali-based resource ☺
Guys what about the newest version of Linux Kali 2.0? Any of this necessary to do?
why i can’t upgrade kali linux to any version
i do every things ;, i do the sources list but it say impossible to upgrade
One thing I might add is getting set up for exfat support for USB device use. That’s something I always end up doing using exfat-fuse and exfat-utils as soon as I get Kali up and running.
I have problem in wireless connection :P
hi admin, thanks for you post.
please am have this error on kali 2.0 while trying to install apt-file
“he following packages have unmet dependencies:
apt-file : Depends: libapt-pkg-perl but it is not going to be installed
E: Unable to correct problems, you have held broken packages.”
dont know how to go about it. didnt find it on Google either.
When will this be out for 2.0
why shouldn’t you install flashplayer?
Flash is notoriously insecure. Vulnerabilities keep popping up again and again, and Adobe is hoping to kill it off. Heck, it even recommends uninstalling Flash: http://bgr.com/2015/10/15/adobe-flash-player-security-vulnerability-warning/
root@merlin:~# apt-get clean && apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y
Err http://security.kali.org kali/updates/main Sources 404 Not Found
W: Failed to fetch http://security.kali.org/kali-security/dists/kali/updates/non-free/binary-amd64/Packages 404 Not Found
root@merlin:~# cat /etc/apt/sources.list
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
this is my fresh install … it about 5-10 times that i reinstalled kali everytime same problem
You need to use the updated repositories for Kali Sana (assuming you are installing that).
If you’re using old Kali 1.x, then it’s not supported anymore.
im using kali-linux-1.1.0a-amd64 bit … all was woring well for years nothing like this but couple of days ago when I gave update upgrade command to Kali it returned with the above mentioned errors.. no mattter how many times i Install Kali it gives the same errror.. I have update to latest repos from Kali official site as well.. I dont use sana coz i dont like the way it is build….
so if i cant update softwares anymore whats the point of using it ?? isnt there any solution to this?? you said its not supported anymore please elaborate a little more…
im still not clear why i cant update kali 1.1.0a 64bit …. only kali sana is working but it has many bugs regarding airmon-ng …. root and users logins and others things too… so cant we update kali 1.1.0a anymore ?? it was working in the start of this month
Are the updates for Kali 1.10a possibly being kept in a different folder on http://security.kali.org, maybe here? http://security.kali.org/kali-security/dists/kali-rolling/updates/
Hi Doug,
No, AFAIK, Kali 1.x is done and dusted. Trying anything different would just cause more issues than actually fixing. Cheers,
-BMO