![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=1738860607-fPJNkl0eLUFwxXiO5z2RwCOFgYTG88U3-0-c9373c9db6600e6677c8cbf40153d290)
- 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=1738860607-qP2pddKaZdPMusshWZ6yVLnKPfv9GRAy-0-dbd43021c4d4971e435a8492bf15c61d)
- 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=1738860607-I6qvnmJ4wDkzsbhk3RDJdxgfCy4atrpt-0-90e575a80c13760a6fa353fa7d835654)
Kali already has provided prebuilt images of different desktop environments. These can be downloaded from here: https://www.kali.org/downloads/.