Linux "could not open default font 'fixed'."错误解决 .

来源:互联网 发布:java测试类 main方法 编辑:程序博客网 时间:2024/06/13 04:12

不能进入Xwindow,错误如下:

log   file:"/var/log/XFree86.o.log"  
          Using   config   file:"/etc/X11/XF86Config.   
          Could   not   init   font   path   element   unix   /:7100   removing   from   list!  
          Fatal   server   error:  
          could   not   open   default   font   'fixed'.  
          XID:   fatal   ID   error   104   (Connection   reset   by   peer)   on   X   server   "   :0.0"

 

解决:进入/etc/X11/XF86Config    
   
  emacs   XF86Config     找到这里的内容:  
   
  section   "Files"  
  ......  
            FontPath   "/usr/share/fonts/simsum   "  
            FontPath   "unix/:7100   "       (就这两个FontPath)  
   
  然后用   #   把   FontPath   "unix/:7100   "   注释掉重启OK。  

原创粉丝点击