yum
181
- 熱血大叔2012-10-19金牌会员13769
改用 yum -y install xfce 即可,其他設定都相同
下面基本上可以不用看 ...
搭配 VNC 使用說明如下:
yum -y install vnc-server curl xfce
vncserver
#輸入兩次密碼echo 'VNCSERVERS="1:root"' >> /etc/sysconfig/vncservers
echo 'VNCSERVERARGS[1]="-geometry 1024x768"' >> /etc/sysconfig/vncserversvi /root/.vnc/xstartup
#在最後加上
/usr/bin/startxfce4/etc/init.d/vncserver restart
#連接 vnc 就可以看到 xfce4 在跑了
以上在坑爹的 123systems 測試通過(系統 CENTOS 5.6 32bit 版)