linux - 在 CIS RedHat 7 Enterprise 中找不到任何字体且没有错误

标签 linux fonts centos redhat

我正在尝试运行一个程序,但在新的 CIS RedHat Enterprise 中出现以下错误,但在旧版本的 CIS RedHat Ent 中没有出现以下错误。

Xlib:  extension "RANDR" missing on display "localhost:0.0".
[0814/202432:ERROR:gl_surface_glx.cc(343)] glxQueryVersion failed
[0814/202432:ERROR:gl_surface_x11.cc(56)] GLSurfaceGLX::InitializeOneOff failed.
[0814/202432:ERROR:gpu_child_thread.cc(227)] Exiting GPU process due to errors during initialization
[0814/202435:FATAL:platform_font_linux.cc(59)] Check failed: typeface. Could not find any font: 0x7ffcea8b2b20, sans
Aborted

它提示因为找不到 sans 字体。有谁知道哪里出了问题以及如何解决它?也许我需要在机器上安装默认字体集?

谢谢

最佳答案

找到了我自己的答案:

yum install 'gnu-free-sans-fonts'

关于linux - 在 CIS RedHat 7 Enterprise 中找不到任何字体且没有错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38946539/

相关文章:

php - 写入tmp文件夹

python:使用windows api使用ttf字体呈现文本

css - 在 Linux 中,kokila 字体在 Google Chrome 中不起作用

email - mongodb查询持续运行

php/mysql 不能同时运行同一个文件两次

linux - 将 bash 日志文件转换为 CSV

c - PostgreSQL 数据库在 linux 平台上使用 bytea 列将可打印字符转换为八位字节

c++ - libSDL2-2.0.so.0 : cannot open shared object file

javascript - 将/ja-jp/网站的标准字体样式更新为微软的Meiryo字体

php - 如何让 PHP 5.4.40 支持 LDAP 5.4?