定制Kali的桌面系统
更换Kali的桌面环境
不是所有的Kali Linux用户都希望使用Gnome作为默认的桌面环境,所以我们简化了更换桌面管理器所需的工作.要封装一个定制过桌面环境的专属Kali ISO镜像,从封装定制的Kali Live 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
kali-defaults
kali-root-login
desktop-base
kde-plasma-desktop
Gnome
gnome-core
kali-defaults
kali-root-login
desktop-base
LXDE
kali-defaults
kali-root-login
desktop-base
lxde
XFCE
kali-defaults
kali-root-login
desktop-base
xfce4
I3WM
# cheers to 0xerror
xorg
dmenu
conky
i3
MATE
“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