startx提示错误:“could not open default font 'fixed'” 的解决方法

报错信息如下:
[    94.521] (II) vmware(0): Initialized VMWARE_CTRL extension version 0.2
[    94.521] (II) vmware(0): Initialized VMware Xinerama extension.
[    94.521] (II) vmware(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0
[    94.664] (==) vmware(0): Backing store enabled
[    94.664] (==) vmware(0): Silken mouse enabled
[    94.670] (II) vmware(0): Initialized VMware Xv extension successfully.
[    94.671] (==) RandR enabled
[    94.683] (II) SELinux: Disabled by boolean
[    94.683] (II) AIGLX: Screen 0 is not DRI2 capable
[    94.683] (EE) AIGLX: reverting to software rendering
[    95.357] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[    95.357] (II) AIGLX: Loaded and initialized swrast
[    95.357] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[    95.357] (EE) 
Fatal server error:
[    95.357] (EE) could not open default font 'fixed'(EE) 
[    95.357] (EE) 
Please consult the Red Hat, Inc. support 
         at https://www.redhat.com/apps/support/
 for help. 
[    95.357] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    95.357] (EE) 
[    95.461] (EE) Server terminated with error (1). Closing log file.

主要是由于系统缺少fixed字体的支持,安装相关字体包即可

yum install xorg-x11-xfs  
yum install xorg-x11-xfs-utils  
yum install xorg-x11-xinit  
yum install xorg-x11-xdm  
yum install xorg-x11-fonts*

猜你喜欢

转载自blog.csdn.net/fxnawm/article/details/78778352