GTK应用程序无法启动 - xfs restart需要选项
题
对不起,不是真正的编程问题,但我不确定在哪里可以找到一些帮助。
在最近的更新(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年更新了,所以我可以有一些旧的设置。
解决方案 2
我终于弄清楚了:似乎xfs与当前的其他组件不兼容,幸运的是从系统中删除它完全解决了这个问题。
其他提示
Debian unstable现在非常不稳定,因为很快就发布了。正在发生重大变化和包迁移。 Xorg(以及所有X相关的东西)是该过程中的关键包之一。我的建议是执行新的更新/升级,以便找到可能解决此问题的新版本。
经常更新后,有些东西会以莫名其妙的方式被打破,仅仅是因为开发人员正在上传新的,而且测试版本不多的应用程序
不隶属于 StackOverflow