以user为例
#mount /dev/cd0a /mnt
#cd /mnt/4.1/packages/i386/
#pkg_add kdebase-3.5.6.tgz //安装KDE
#vi /etc/sysctl.conf
加入
machdep.allowaperture=2 //启动X
$vi /home/user/.profile
加入
# Start KDE environment?
read kdex?'Do you want to have a [G]raphical environment or [C]onsole only: '
if [ X"$kdex" ==
X"G" -o
X"$kdex" ==
X"g" -o
X"$kdex" ==
X"Graphical" ] ; then
/usr/local/bin/startkde //root登录后启动KDE
fi
不推荐ROOT使用
阅读(1652) | 评论(0) | 转发(0) |