SSHとX11配信の奇妙な点

SSHとX11配信の奇妙な点

問題が発生しました。サーバーがあり、長い間X11転送を問題なく使用してきました。これで奇妙なことが起こります。

login を使用すると ssh -X -Y user@device接続が成功します。 xterm / xeyesが起動すると、そのウィンドウがマイコンピュータに表示されます。

emacsやgwenviewを起動すると何も起こりません。

xtermを実行しssh -vvv -X -Y user@deviceて起動すると記録されます。

debug3: receive packet: type 90 
debug1: client_input_channel_open: ctype x11 rchan 3 win 65536 max 16384 
debug1: client_request_x11: request from ::1 34772 
debug2: fd 8 setting O_NONBLOCK 
debug3: fd 8 is O_NONBLOCK 
debug1: channel 1: new [x11] 
debug1: confirm x11 
debug3: send packet: type 91 
debug2: channel 1: rcvd adjust 44420 
debug2: channel 1: rcvd adjust 49152 
debug2: channel 1: rcvd adjust 49152

これでxtermが表示されます。

Emacsを起動すると、この情報が記録されます。

debug3: receive packet: type 90
debug1: client_input_channel_open: ctype x11 rchan 3 win 65536 max 16384
debug1: client_request_x11: request from ::1 34776
debug2: fd 8 setting O_NONBLOCK
debug3: fd 8 is O_NONBLOCK
debug1: channel 1: new [x11]
debug1: confirm x11
debug3: send packet: type 91
debug3: receive packet: type 96
debug2: channel 1: rcvd eof
debug2: channel 1: output open -> drain
debug2: channel 1: obuf empty
debug2: channel 1: close_write
debug2: channel 1: output drain -> closed
debug1: channel 1: FORCE input drain
debug2: channel 1: ibuf empty
debug2: channel 1: send eof
debug3: send packet: type 96
debug2: channel 1: input drain -> closed
debug2: channel 1: send close
debug3: send packet: type 97
debug3: channel 1: will not send data after close
debug3: receive packet: type 90
debug1: client_input_channel_open: ctype x11 rchan 4 win 65536 max 16384
debug1: client_request_x11: request from ::1 34778
debug2: fd 9 setting O_NONBLOCK
debug3: fd 9 is O_NONBLOCK
debug1: channel 2: new [x11]
debug1: confirm x11
debug3: send packet: type 91
debug3: channel 1: will not send data after close
debug3: channel 1: will not send data after close
debug3: receive packet: type 97
debug2: channel 1: rcvd close
debug3: channel 1: will not send data after close
debug2: channel 1: is dead
debug2: channel 1: garbage collecting
debug1: channel 1: free: x11, nchannels 3
debug3: channel 1: status: The following connections are open:
  #0 client-session (t4 r0 i0/0 o0/0 fd 5/6 cc -1)
  #1 x11 (t4 r3 i3/0 o3/0 fd 8/8 cc -1)
  #2 x11 (t7 r4 i0/0 o0/0 fd 9/9 cc -1)

その後、もう2回繰り返し、その後は何も繰り返しません。

Emacsはxサポートでコンパイルされます。

この時点ではx11転送は機能しますが(xtermの動作)、emacs / gwenviewは機能しません。 :(

SSH、X11などのエラーですか?

BR/パトリック

ベストアンサー1

@dirktが指摘したように、使用しているコンポーネント間のバージョンが一致しない可能性があります。回避策は、X11とQTベースの両方のアプリケーションをアンインストールしてから再インストールすることです。

ログを生成すると良いでしょう。

おすすめ記事