AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题 / 1529
Accepted
Grzenio
Grzenio
Asked: 2009-05-01 11:38:27 +0800 CST2009-05-01 11:38:27 +0800 CST 2009-05-01 11:38:27 +0800 CST

GTK 应用程序无法启动 - 需要 xfs 重新启动选项

  • 772

在最近一次更新之后(Xorg 也被更新了),GTK 应用程序停止在我的 kde4 中运行。我有一个不稳定的 Debian,4 月 22 日左右更新。当我尝试运行它们时,出现以下错误:

ga@grzes:~$ iceweasel 
The program 'firefox-bin' received an X Window System error. 
This probably reflects a bug in the program. 
The error was 'BadName (named color or font does not exist)'. 
  (Details: serial 888 error_code 15 request_code 45 minor_code 0) 
  (Note to programmers: normally, X errors are reported asynchronously; 
   that is, you will receive the error a while after causing it. 
   To debug your program, run it with the --sync command line 
   option to change this behavior. You can then get a meaningful 
   backtrace from your debugger if you break on the gdk_x_error() function.) 
ga@grzes:~$ gimp The program 'gimp' received an X Window 
System error. 
This probably reflects a bug in the program. 
The error was 'BadName (named color or font does not exist)'. 
  (Details: serial 6955 error_code 15 request_code 45 minor_code 0) 
  (Note to programmers: normally, X errors are reported asynchronously; 
   that is, you will receive the error a while after causing it. 
   To debug your program, run it with the --sync command line 
   option to change this behavior. You can then get a meaningful 
   backtrace from your debugger if you break on the gdk_x_error() function.) 


(script-fu:4643): LibGimpBase-WARNING **: script-fu: gimp_wire_read(): 
error

我必须手动重新启动字体服务器才能修复它:

ga@grzes:~$ su 
Password: 
grzes:/home/ga# /etc/init.d/xfs restart 
Stopping X font server: xfs. 
Setting up X font server socket directory /tmp/.font-unix...done. 
Starting X font server: xfs.

有什么想法可能是错的吗?是配置问题吗?我的系统已经更新了 7 年,所以我可以有一些旧的设置。

编辑:如果有人能将我指向相关的讨论列表或 bugzilla 站点,我将不胜感激,因为我遇到了这个问题。

linux debian xorg gtk
  • 4 4 个回答
  • 1056 Views

4 个回答

  • Voted
  1. Best Answer
    Nathan
    2009-05-06T13:25:56+08:002009-05-06T13:25:56+08:00

    据我所知,x11 字体服务器现在几乎被弃用,取而代之的是客户端字体。Ubuntu 当然不再使用 xfs(除非您专门安装它),我怀疑 Debian Unstable 是否默认安装它。

    启动后,不要重新启动 xfs,而是尝试停止它。如果一切继续按预期工作,则只需将其卸载即可。

    • 2
  2. alanc
    2009-06-16T12:59:16+08:002009-06-16T12:59:16+08:00

    听起来可能是 Xorg 1.5 中的这个已知错误:

    • 错误 18259:带有 xfs 的 Xorg 7.4 破坏了 GTK+ 1.2 应用程序,例如 Xdialog

    如果有人可以将我指向相关的讨论列表或 bugzilla 站点,我将不胜感激,因为我遇到了这个问题。

    Xorg bugzilla:http ://bugs.freedesktop.org - 使用产品“xorg”

    Xorg 邮件列表: http: //lists.freedesktop.org/mailman/listinfo/xorg

    • 1
  3. C. K. Young
    2009-05-01T11:41:57+08:002009-05-01T11:41:57+08:00

    尝试在重启xlsfonts前后运行,并比较结果。xfs差异可能非常明显!

    • 0
  4. pjz
    2009-05-06T13:04:47+08:002009-05-06T13:04:47+08:00

    找到你可以运行的最简单的程序,它会给你这个错误,并在 ltrace 下运行它以缩小导致问题的确切调用。

    • 0

相关问题

  • 多操作系统环境的首选电子邮件客户端

  • 你最喜欢的 Linux 发行版是什么?[关闭]

  • 更改 PHP 的默认配置设置?

  • 保护新的 Ubuntu 服务器 [关闭]

  • (软)Ubuntu 7.10 上的 RAID 6,我应该迁移到 8.10 吗?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    从 IP 地址解析主机名

    • 8 个回答
  • Marko Smith

    如何按大小对 du -h 输出进行排序

    • 30 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    Windows 中执行反向 DNS 查找的命令行实用程序是什么?

    • 14 个回答
  • Marko Smith

    如何检查 Windows 机器上的端口是否被阻塞?

    • 4 个回答
  • Marko Smith

    我应该打开哪个端口以允许远程桌面?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    MikeN 在 Nginx 中,如何在维护子域的同时将所有 http 请求重写为 https? 2009-09-22 06:04:43 +0800 CST
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    0x89 bash中的双方括号和单方括号有什么区别? 2009-08-10 13:11:51 +0800 CST
  • Martin Hope
    kch 如何更改我的私钥密码? 2009-08-06 21:37:57 +0800 CST
  • Martin Hope
    Kyle Brandt IPv4 子网如何工作? 2009-08-05 06:05:31 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve