![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=1739670679-VkUbbBz84i5uLryoq2dWfpA82Km5NRCd-0-2273217d3169390d01843d0474fc0ca5)
- 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=1739670679-FHO2EZCuAQ8yOXQTXK2nJkhoCFqaLn3R-0-04f2b6e6b3e263ca5e9d4abc9a1c747c)
- 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=1739670679-K9PG4ASykYk6tOZHIya3qQ42yFvOpeIN-0-c7983969b06fdd2b1da42116e1a2c82e)
Kali already has provided prebuilt images of different desktop environments. These can be downloaded from here: https://www.kali.org/downloads/.