xterm Xtエラー:ディスプレイを開けませんでした:localhost:11.0

xterm Xtエラー:ディスプレイを開けませんでした:localhost:11.0

私はXming32、putty、plinkを実行しているWindowsコンピュータを使用しています。 Centosボックスが2つあります。正常に接続できるのです。もう一つはできません。

このコマンドを使用しようとしていますplink -C -v jdearing@BROKENHOST xterm。私は次のようになります

Looking up host "BROKENHOST"
Connecting to 192.168.X.Y port 22
We claim version: SSH-2.0-PuTTY_Release_0.64
Server version: SSH-2.0-OpenSSH_5.3
We believe remote version has SSH-2 channel request bug
Using SSH protocol version 2
Server supports delayed compression; will try this later
Doing Diffie-Hellman group exchange
Doing Diffie-Hellman key exchange with hash SHA-256
Host key fingerprint is:
ssh-rsa 2048 60:f6:12:6d:af:27:61:20:b5:85:2f:a7:2b:49:b3:0c
Initialised AES-256 SDCTR client->server encryption
Initialised HMAC-SHA-256 client->server MAC algorithm
Initialised AES-256 SDCTR server->client encryption
Initialised HMAC-SHA-256 server->client MAC algorithm
Using username "jdearing".
Using SSPI from SECUR32.DLL
Attempting GSSAPI authentication
GSSAPI authentication request refused
jdearing@BROKENHOST's password:
Sent password
Access granted
Initiating key re-exchange (enabling delayed compression)
Opening session as main channel
Doing Diffie-Hellman group exchange
Doing Diffie-Hellman key exchange with hash SHA-256
Initialised AES-256 SDCTR client->server encryption
Initialised HMAC-SHA-256 client->server MAC algorithm
Initialised zlib (RFC1950) compression
Initialised AES-256 SDCTR server->client encryption
Initialised HMAC-SHA-256 server->client MAC algorithm
Initialised zlib (RFC1950) decompression
Opened main channel
Requesting X11 forwarding
X11 forwarding enabled
Started a shell/command
xterm Xt error: Can't open display: localhost:11.0
Server sent command exit status 1
Disconnected: All channels closed

私のsshd_configには、次のX11Forwarding yes X11DisplayOffset 10が含まれています。

xauthはうまくいくようです:

$xauth list
BROKENHOST/unix:10  MIT-MAGIC-COOKIE-1  8ba8b6b627ca6bbbbe6927075240cad7
localhost.domain.com:123  MIT-MAGIC-COOKIE-1  d7e2e4a8c5aa4430bfcc2abb436940d2
BROKENHOST/unix:11  MIT-MAGIC-COOKIE-1  0d4b3489049a10861878d9a4f6a613b1

私はすでに1つを作りましたservice iptables stop

また何を試すことができますか?

ベストアンサー1

おすすめ記事