vnc Warning: Cannot convert string "-*-helvetica-bold-r-*-*-16-*-*-*-*-*-*-*" to type FontStruct錯誤

沒事時將本身的pcduino配了一個vnc,搭建成功以後,可是顯示vim

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測試

錯誤,ui

這實際上是本地的vncviewer不能轉換圖像類型,spa

解決方法兩種:orm

1.直接$unset LC_CTUPEserver

這將會清除你的環境變量string

2.找到配置文件,修改配置參數it

$cd ~/.vncio

$vim xstartupast

添加lc_collate = en_gb.iso8859-15

這樣就好了,測試一下,果真沒問題...

相關文章
相關標籤/搜索