# 定制Kali的桌面系统
## 更换Kali的桌面环境
不是所有的Kali Linux用户都希望使用Gnome作为默认的桌面环境,所以我们简化了更换桌面管理器所需的工作.要封装一个定制过桌面环境的专属Kali ISO镜像,从[封装定制的Kali Live ISO](http://cn.docs.kali.org/downloading-cn/%e5%b0%81%e8%a3%85%e5%ae%9a%e5%88%b6%e7%9a%84kali-live-iso "Live Build a Custom Kali ISO")这篇文档开始吧.在封装你的ISO之前,先编辑**config/package-lists/kali.list.chroot**的最后部分,加入你选择的桌面环境的相关信息到这些注释的后面:
```
# Graphical desktops depending on the architecture
#
# You can replace all the remaining lines with a list of the
# packages required to install your preferred graphical desktop
# or you can just comment everything except the packages of your
# preferred desktop.
```
## [KDE](#5xihfiganzk4_0)
```
kali-defaults
kali-root-login
desktop-base
kde-plasma-desktop
```
## [Gnome](#5xihfiganzk4_1)
```
gnome-core
kali-defaults
kali-root-login
desktop-base
```
## [LXDE](#5xihfiganzk4_2)
```
kali-defaults
kali-root-login
desktop-base
lxde
```
## [XFCE](#5xihfiganzk4_3)
```
kali-defaults
kali-root-login
desktop-base
xfce4
```
## [I3WM](#5xihfiganzk4_4)
```
# cheers to 0xerror
xorg
dmenu
conky
i3
```
## [MATE](#5xihfiganzk4_5)
“MATE”桌面默认并没有被包含在我们的源里,集成到Kali里需要一些操作.
```
echo "deb http://repo.mate-desktop.org/debian wheezy main" >> /etc/apt/sources.list
apt-get update
apt-get install mate-archive-keyring
```
```
# apt-get install git live-build cdebootstrap
# git clone git://git.kali.org/live-build-config.git
cd live-build-config
mkdir config/archives
echo "deb http://repo.mate-desktop.org/debian wheezy main" > config/archives/mate.list.binary
echo "deb http://repo.mate-desktop.org/debian wheezy main" > config/archives/mate.list.chroot
cp /usr/share/keyrings/mate-archive-keyring.gpg config/archives/mate.key.binary
cp /usr/share/keyrings/mate-archive-keyring.gpg config/archives/mate.key.chroot
echo "sleep 20" >> config/hooks/z_sleep.chroot
```
添加mate桌面到软件包的列表: 编辑后的config/package-lists/kali.list.chroot应该是这样:
```
xorg
mate-archive-keyring
mate-core
mate-desktop-environment
```
- 00. Kali Linux介绍
- Kali Linux默认密码
- 01. 下载Kali Linux
- 封装定制的Kali Live ISO
- 用Live U盘安装Kali Linux
- 02. 制作定制的Kali镜象
- 03. 安装Kali Linux
- 无线驱动疑难排解
- 用Mini ISO通过网络安装Kali Linux
- 通过网络PXE安装Kali Linux
- 加密安装Kali Linux
- Kali和Windows双引导
- 硬盘安装Kali Linux
- 04. 通过网络安装Kali Linux
- 05. Kali Linux常见问题
- Virtual Box的Kali Linux虚拟机
- 运行 Metasploit Framework
- Kali虚拟机安装VMware Tools
- Kali Linux电子取证模式
- 06. Kali Linux ARM文档
- 在MK/SS808上安装Kali ARM
- 在三星Chromebook安装Kali
- 07. Kali Linux开发
- 定制Raspberry Pi镜像
- 定制Chromebook镜像
- 封装定制的Kali Live ISO
- 定制Kali的桌面系统
- 重新编译Kali Linux内核
- 从源代码编译包
- ARM交叉编译
- 准备Kali Linux ARM chroot
- 08. Kali Linux疑难排解
- 09. Kali 社区支持
- 给Kali提交问题
- Kali Linux官方镜像
- Kali Linux官方网站
- Kali Linux漏洞追踪
- 10. Kali Linux 策略
- Kali Linux安全更新策略
- Kali Linux网络服务策略
- Kali Linux Root用户策略
- 渗透测试工具策略
- Kali Linux开源软件策略
- Kali Linux商标策略
- Kali和Debian的关系