![Kali Linux:An Ethical Hacker's Cookbook(Second Edition)](https://wfqqreader-1252317822.image.myqcloud.com/cover/772/36698772/b_36698772.jpg)
上QQ阅读APP看书,第一时间看更新
How to do it...
- We use the following command to install KDE:
apt-get install kali-defaults kali-root-login desktop-base kde-plasma-desktop
- 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 of the preceding command:
![](https://epubservercos.yuewen.com/E581D7/19470380608818806/epubprivate/OEBPS/Images/aa394a0e-7018-4b80-9842-445bc1b43fef.png?sign=1739284493-nehikuQe9SrhkN6itqobm8ruFgjsH0Xl-0-57ec6247d350832abe7a286fdb0f0ba6)
- Choose the startkde option (in our case, 2) and press Enter.
- Log out and log in again, and we will see the KDE environment:
![](https://epubservercos.yuewen.com/E581D7/19470380608818806/epubprivate/OEBPS/Images/8bed0b9d-15cb-42d0-aa9f-8e14d547935a.png?sign=1739284493-CP7cwCstna09Sdn4FlskjIBhAt4eu1Bp-0-856aa5cfdb8995f667d52eee8ed01d2b)
Kali has already provided prebuilt images of different desktop environments. These can be downloaded from https://www.kali.org/downloads/.