![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 Xfce environment follow the given steps:
- We start by using the following command to install Xfce along with all plugins and goodies:
apt-get install kali-defaults kali-root desktop-base xfce4
xfce4-places-plugin xfce4-goodies
The following screenshot shows the preceding command:
![](https://epubservercos.yuewen.com/364BC0/19470402501612306/epubprivate/OEBPS/Images/05b0e78d-ada6-4888-84c3-2a14a50b42d0.png?sign=1739185927-pyyg71aoNRdJMyotoHjFSZ6qeIQcvXF8-0-1109f352454498a457bfd36bcae583e4)
- Type Y when it asks for confirmation on additional space requirements.
- Select Ok on the dialogue box that appears.
- We select lightdm as our default desktop manager and press the Enter key.
- 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/364BC0/19470402501612306/epubprivate/OEBPS/Images/d8587cd6-080c-486b-98c1-5138a62f359b.png?sign=1739185927-2SIlGCCL8pu7StrTgQOTjwlBLjJCjzbV-0-6525b262c4761d51cab39bd217d86daf)
- Choose the option xfce4-session (in our case 3) and press the Enter key.
- Log out and log in again or you can restart the machine and we will see the Xfce environment:
![](https://epubservercos.yuewen.com/364BC0/19470402501612306/epubprivate/OEBPS/Images/57d85b07-5447-4d19-8cc4-38865bd9d93c.png?sign=1739185927-QxLvcXMAuU5wPMowyJuJfngEybS6OOB0-0-0e967289ee2ea767fddbb90b283e92b9)