web-dev-qa-db-ja.com

GTKアプリケーションの起動に失敗する-xfs再起動が必要

最近の更新(特にXorgが更新された)の後、GTKアプリは私のkde4で実行を停止しました。 4月22日頃に更新されたDebianが不安定です。それらを実行しようとすると、次のエラーが発生します。

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サイトを教えてくれたらありがたいです。

2
Grzenio

私の知る限り、x11フォントサーバーは現在、クライアント側のフォントを優先して非推奨になっています。 Ubuntuは確かに(特にインストールしない限り)xfsを使用しなくなり、DebianUnstableもデフォルトでxfsをインストールするのではないかと思います。

起動後、xfsを再起動するのではなく、停止してみてください。すべてが期待どおりに機能し続ける場合は、アンインストールするだけです。

2
Nathan

Xorg1.5のこの既知のバグである可能性があるようです。

私はこの問題で立ち往生しているので、誰かが私に関連するディスカッションリストまたはbugzillaサイトを教えてくれたらありがたいです。

Xorg bugzilla: http://bugs.freedesktop.org -製品「xorg」を使用する

Xorgメーリングリスト: http://lists.freedesktop.org/mailman/listinfo/xorg

1
alanc

xlsfontsの再起動の前後にxfsを実行し、結果を比較してみてください。違いは非常にわかりやすいかもしれません!

0

このエラーが発生する実行可能な最も単純なプログラムを見つけ、ltraceで実行して、問題の原因となっている正確な呼び出しを絞り込みます。

0
pjz