一、相关资源包检查与安装 1.查看是否安装相关包支持 yum groupinstall "Chinese Support" --语言环境支持包 yum groupinstall "Desktop" --桌面支持包 2.系统语言配置 vi i18n 将LANG修改为"zh_CN.UTF-8" 3.查看VNCSERVER是否安装 rpm -qa|grep tigervnc 4.如果尚未安装 可远程安装 yum install tigervnc tigervnc-server 5.添加启动项 chkconfig --add vncserver chkconfig vncserver on 二、VNCSERVER配置 1.#vncserver 2.vncpasswd 3.修改/etc/sysconfig/vncservers VNCSERVERS="2:root" VNCSERVERARGS[2]="-geometry 1280x800" 若不调整此配置文件,会出现 如下情况 : /etc/init.d/vncserver start 正在启动 VNC 服务器:no displays configured 4.启动VNCSERVER /etc/init.d/vncserver start 三、字体找不到 vncext: VNC extension running! vncext: Listening for VNC connections on all interface(s), port 5901 vncext: Listening for HTTP connections on all interface(s), port 5801 vncext: 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 (责任编辑:IT) |