错误现象:
Font directory '/usr/X11R6/lib/X11/fonts/misc/' not found - ignoring
Font directory '/usr/X11R6/lib/X11/fonts/Speedo/' not found - ignoring
Font directory '/usr/X11R6/lib/X11/fonts/Type1/' not found - ignoring
Font directory '/usr/X11R6/lib/X11/fonts/75dpi/' not found - ignoring
Font directory '/usr/X11R6/lib/X11/fonts/100dpi/' not found - ignoring
Fatal server error:
could not open default font 'fixed'
解决方法有以下两种:
方法1)使用xfs
安装xfs,并在 .vnc/xstartup 中,加入
xfs -droppriv -daemon -port 7100 xset +fp tcp/localhost:7100 |
方法2)修改vncserver 脚本
$fontPath = "unix/:7100";
$fontPath = join ',',qw( /usr/share/fonts/X11/misc /usr/share/fonts/X11/100dpi/:unscaled /usr/share/fonts/X11/75dpi/:unscaled /usr/share/fonts/X11/Type1 /usr/share/fonts/X11/100dpi /usr/share/fonts/X11/75dpi ); |
阅读(5192) | 评论(0) | 转发(0) |