![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=1739243399-pJ2JnVPeXqZ5I7X8vmK6xeCjB3crz8st-0-91182f8089a03af51bbe9589651569eb)
- 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=1739243399-LcNCouMMCwYn1bhpGzA5oMRcn5NBdOrm-0-58b7fb7e686cd685af8e700644728a34)
- 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=1739243399-NN2KCatzUHSpTBa0SDeonPEOIJONRVAc-0-7ea8e9e1344d23f65042ca8e233da66a)
Kali already has provided prebuilt images of different desktop environments. These can be downloaded from here: https://www.kali.org/downloads/.