VNC Viewer for windows 连接服务器centos6.8后出现方块乱码
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了VNC Viewer for windows 连接服务器centos6.8后出现方块乱码相关的知识,希望对你有一定的参考价值。
一、环境
操作系统:
[[email protected] zhi]# uname -a Linux bogon 2.6.32-642.11.1.el6.i686 #1 SMP Fri Nov 18 18:48:28 UTC 2016 i686 i686 i386 GNU/Linux [[email protected] zhi]# cat /etc/redhat-release CentOS release 6.8 (Final)
VNC Viewer :
二、故障
VNC登陆服务器后显示画面有方块乱码:
三、修改系统语言
[[email protected] zhi]# cat /etc/sysconfig/i18n LANG="zh_CN.UTF-8" #LANG="en_US.UTF-8" [[email protected] zhi]# vi !$ vi /etc/sysconfig/i18n #LANG="zh_CN.UTF-8" LANG="en_US.UTF-8" #默认语言改为英语 ~ ~ ~ ~ "/etc/sysconfig/i18n" 2L, 66C written [[email protected] zhi]# reboot #重启服务器 Broadcast message from [email protected] (/dev/pts/1) at 2:07 ... The system is going down for reboot NOW!
[[email protected] zhi]# service vncserver start #重启VNC服务器 Starting VNC server: 1:root New ‘bogon:1 (root)‘ desktop is bogon:1 Starting applications specified in /root/.vnc/xstartup Log file is /root/.vnc/bogon:1.log [ OK ] [[email protected] zhi]# service iptables stop #关闭防火墙 iptables: Setting chains to policy ACCEPT: filter [ OK ] iptables: Flushing firewall rules: [ OK ] iptables: Unloading modules: [ OK ]
四、OK
本文出自 “松鼠泊客” 博客,请务必保留此出处http://zhiju.blog.51cto.com/3036793/1880229
以上是关于VNC Viewer for windows 连接服务器centos6.8后出现方块乱码的主要内容,如果未能解决你的问题,请参考以下文章
vnc viewer windows,vnc viewer windows下如何安装vnc