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

最近更新(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. 

任何想法可能是错的? 这是一个configuration问题? 我的系统已经更新了过去7年,所以我可以有一些旧的设置。

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

据我所知,x11字体服务器现在几乎不赞成使用客户端字体。 Ubuntu肯定不会再使用xfs(除非你专门安装它),我怀疑Debian Unstable默认安装它。

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

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

  • Bug 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

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

find最简单的程序,你可以运行,会给你这个错误,并在ltrace下运行,以缩小什么确切的电话是造成问题。