![Kali Linux:An Ethical Hacker's Cookbook](https://wfqqreader-1252317822.image.myqcloud.com/cover/618/36700618/b_36700618.jpg)
上QQ阅读APP看书,第一时间看更新
How to do it...
To configure the KDE environment follow the given steps:
- We use the following command to install KDE:
apt-get install kali-defaults kali-root-login desktop-base
kde-plasma-desktop
The following screenshot shows the output for the preceding command:
![](https://epubservercos.yuewen.com/364BC0/19470402501612306/epubprivate/OEBPS/Images/9fc06226-04ca-4874-8c82-8bdd0fd772cd.png?sign=1739185594-D2d90Qcq95pNHh9kb4KPHMM2ekUEWiVd-0-73f78502d2f75c533044be6d42fa1196)
- Type Y when it asks for confirmation on additional space requirements.
- Click OK on both the windows that pop up.
- When the installation is complete we open a Terminal window and type the following command:
update-alternatives --config x-session-manager
The following screenshot shows the output for the preceding command:
![](https://epubservercos.yuewen.com/364BC0/19470402501612306/epubprivate/OEBPS/Images/0fdad0c5-e1a7-4d28-ae25-742cf4ea123d.png?sign=1739185594-KxsLUP4QUG7Pd0V5948LM3Of6XF00Qd4-0-f46303bf4d73937c0109dda933a8ee0b)
- Choose the option KDE session (in our case 2) and press Enter.
- Log out and log in again and we will see the KDE environment:
![](https://epubservercos.yuewen.com/364BC0/19470402501612306/epubprivate/OEBPS/Images/0122b438-6bb9-415d-9e64-75b490b5759e.png?sign=1739185594-gU3lrIcPTLbwr3JZhaH3umwOf7OgLxgI-0-b8c9e4d4c5334cf4ca86e2e5f517d4ee)
Kali already has provided prebuilt images of different desktop environments. These can be downloaded from here: https://www.kali.org/downloads/.