![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=1738900305-MIpyJSbvi4tmsKSJBY5xovx74saCeRKq-0-99ca252ffba9903cab5355a949ece3b3)
- 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=1738900305-3dJheP8FJH0UG93r66O4ILCodLtabiJE-0-10dc0b13b91f9e17dec8f42742884f83)
- 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=1738900305-7D8FJYCR5r4sijJSg1z9F789nzj4BfoV-0-005dafead0038686597b063e27825286)
Kali already has provided prebuilt images of different desktop environments. These can be downloaded from here: https://www.kali.org/downloads/.