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

StackOverflow https://stackoverflow.com/questions/802296

  •  03-07-2019
  •  | 
  •  

質問

申し訳ありませんが、実際にはプログラミングの質問ではありませんが、他にどこで助けが見つかるかわかりません。

最近の更新(特にXorgが更新された)の後、kde4でGTKアプリの実行が停止しました。 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年間更新されているため、古い設定を使用できます。

役に立ちましたか?

解決 2

私はついにこれを理解しました:xfsは現在他のコンポーネントと互換性がなく、幸運にもシステムからそれを削除することで問題を完全に解決できるようです。

他のヒント

Debian不安定版は非常に...不安定版です。リリースが少し前に行われたためです。大きな変更とパッケージの移行が行われています。 Xorg(およびすべてのX関連のもの)は、そのプロセスの重要なパッケージの1つです。私のアドバイスは、この問題を解決する新しいバージョンをキャッチするために、新しい更新/アップグレードを実行することです。

アップデート後に、開発者が新しいバージョンのテストされていないアプリケーションをアップロードしているという理由だけで、不可解な方法で何かが壊れることが非常に頻繁にあります

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top