山里狼

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

没事时将自己的pcduino配了一个vnc,搭建成功之后,但是显示

32 bits per pixel.
Least significant byte first in each pixel.
True colour: max red 255 green 255 blue 255, shift red 16 green 8 blue 0
Warning: Cannot convert string "-*-helvetica-bold-r-*-*-16-*-*-*-*-*-*-*" to type FontStruct
Using default colormap and translating from BGR233. Pixel format:
8 bits per pixel.
True colour: max red 7 green 7 blue 3, shift red 0 green 3 blue 6
Got 256 exact BGR233 colours out of 256
Using shared memory PutImage
vncviewer: VNC server closed connection
ShmCleanup called

错误,

这其实是本地的vncviewer不能转换图像类型,

解决方法两种:

1.直接$unset LC_CTUPE

这将会清除你的环境变量

2.找到配置文件,修改配置参数

$cd ~/.vnc

$vim xstartup

添加lc_collate = en_gb.iso8859-15

这样就行了,测试一下,果然没问题...

posted on 2013-09-10 13:17  山里狼  阅读(1669)  评论(0编辑  收藏  举报