1、依赖准备
pkg install xorg
pkg install slim
2、安装Xfce
pkg install -y xfce
3、配置rc.conf
vi /etc/rc.conf
添加如下内容:
moused_enable="YES"
dbus_enable="YES"
hald_enable="YES"
slim_enable="YES"
cd ~
vi .xinitrc
在文件.xinitrc添加
内容如下
exec xfce4-session
4、设置启动模式,并重启
init 6
reboot