vncserver找不到字体问题

tech2022-09-12  105

VNC远程连接后背景为灰色或黑色,光标为叉号,查看vnc日志发现是找不到字体问题,

 

zst@ubuntu:~$ sudo Xvfb :10 -screen 0 1366x768x24 -ac

[dix] Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list!

[dix] Could not init font path element /usr/share/fonts/X11/100dpi/:unscaled, removing from list! [dix] Could not init font path element /usr/share/fonts/X11/75dpi/:unscaled, removing from list! [dix] Could not init font path element /usr/share/fonts/X11/100dpi, removing from list!

[dix] Could not init font path element /usr/share/fonts/X11/75dpi, removing from list!

解决办法:

sudo apt-get install xvfb xfonts-100dpi xfonts-75dpi xfonts-cyrillic xorg dbus-x11

最新回复(0)