CentOS 6.2配置案頭及VNCSERVER
一、相關資源套件檢查與安裝1.查看是否安裝相關包支援yum groupinstall "Chinese Support" --語言環境支援包yum groupinstall "Desktop" --案頭支援包2.系統語言配置vi i18n將LANG修改為"zh_CN.UTF-8"3.查看VNCSERVER是否安裝rpm -qa|grep tigervnc4.如果尚未安裝 可遠程安裝yum install tigervnc tigervnc-server5.添加啟動項chkconfig --add vncserverchkconfig vncserver on二、VNCSERVER配置1.#vncserver2.vncpasswd3.修改/etc/sysconfig/vncserversVNCSERVERS="2:root"VNCSERVERARGS[2]="-geometry 1280x800"若不調整此設定檔,會出現 如下情況 :/etc/init.d/vncserver start正在啟動 VNC 伺服器:no displays configured4.啟動VNCSERVER/etc/init.d/vncserver start三、字型找不到vncext: VNC extension running!vncext: Listening for VNC connections on all interface(s), port 5901vncext: Listening for HTTP connections on all interface(s), port 5801vncext: created VNC server for screen 0[dix] Could not init font path element /usr/share/X11/fonts/misc, removing from list![dix] Could not init font path element /usr/share/X11/fonts/Type1, removing from list![dix] Could not init font path element /usr/share/fonts/default/Type1, removing from list![dix] Could not init font path element built-ins, removing from list! Fatal server error:could not open default font 'fixed'需要安裝這三個包yum install libXfont xorg-x11-xinit xorg-x11-fonts-Type1