X11配信がうまくいかないと思いますか?

X11配信がうまくいかないと思いますか?

Ubuntu 16.04を使用しています。サーバーはUbuntu 16.04も実行しています。

私の /etc/ssh/ssh_config姿はこんな感じです。

Host *
#   ForwardAgent no
    ForwardX11 yes
    ForwardX11Trusted yes
#   RhostsRSAAuthentication no
#   RSAAuthentication yes
#   PasswordAuthentication yes
#   HostbasedAuthentication no
#   GSSAPIAuthentication no
#   GSSAPIDelegateCredentials no
#   GSSAPIKeyExchange no
#   GSSAPITrustDNS no
#   BatchMode no
#   CheckHostIP yes
#   AddressFamily any
#   ConnectTimeout 0
#   StrictHostKeyChecking ask
#   IdentityFile ~/.ssh/identity
#   IdentityFile ~/.ssh/id_rsa
#   IdentityFile ~/.ssh/id_dsa
#   IdentityFile ~/.ssh/id_ecdsa
#   IdentityFile ~/.ssh/id_ed25519
#   Port 22
#   Protocol 2
#   Cipher 3des
#   Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc
#   MACs hmac-md5,hmac-sha1,[email protected],hmac-ripemd160
#   EscapeChar ~
#   Tunnel no
#   TunnelDevice any:any
#   PermitLocalCommand no
#   VisualHostKey no
#   ProxyCommand ssh -q -W %h:%p gateway.example.com
#   RekeyLimit 1G 1h
    SendEnv LANG LC_*
    HashKnownHosts yes
    GSSAPIAuthentication yes
    GSSAPIDelegateCredentials no

サーバーsshd_config:

X11Forwarding yes
X11DisplayOffset 10

SSHサーバーに接続するとき:

ssh -vvv -Y server

sshでサーバーに接続します。 xclockのようなものを実行すると、これが起こります。

debug3: receive packet: type 90
debug1: client_input_channel_open: ctype x11 rchan 2 win 65536 max 16384
debug1: client_request_x11: request from 127.0.0.1 59790
debug2: fd 7 setting O_NONBLOCK
debug3: fd 7 is O_NONBLOCK
debug1: channel 1: new [x11]
debug1: confirm x11
debug3: send packet: type 91

その後、端末も終了し、新しい端末を再起動する必要がありました。ローカルコンピュータには時計が表示されず、エラーもありません。どう思いますか? xmingとputtyを使ってWin 10で同じことをしようとするとうまくいきます。サーバーへのx11転送が有効になっています。

ベストアンサー1

過去に偶然発見された問題を引き起こす可能性のある構成の詳細を 1 文で明確にすることができます。sshd_config。返品、男 ssh_config似たようなことを言いました。

各キーワードに対して最初に取得した値が使用されます。

これは私に直感的にずれているように見えますが、ssh_configと/または~/.ssh/configに同じ行がありますが、値が異なるシステムにある場合は次のようになります。最初すぐに実施されます。次の項目は無視されます。

リモートシステムの sshd_config にも同様に適用されます。

おすすめ記事