Xmanager 无法连接linux

Xmanager 连接多台linux服务器时发现,其中的一台连不上 打开回复的信息窗口

12548713_200803011433401.jpg                                                                                                                                                                                                                 

[13:37:10] Connecting to '192.168.0.251'...
[13:37:10] Connected.
[13:37:11] Version exchange initiated...
[13:37:11]         server: SSH-1.99-OpenSSH_3.9p1
[13:37:11]         client: SSH-2.0-libssh_1.2.1697 NetSarang Computer, Inc.
[13:37:11]         SSH2 is selected.
[13:37:11] Algorithm negotiation initiated...
[13:37:11]         key exchange: diffie-hellman-group1-sha1
[13:37:11]         host key: ssh-dss
[13:37:11]         outgoing encryption: aes128-cbc
[13:37:11]         incoming encryption: aes128-cbc
[13:37:11]         outgoing mac: hmac-sha1
[13:37:11]         incoming mac: hmac-sha1
[13:37:11]         outgoing compression: none
[13:37:11]         incoming compression: none
[13:37:11] Host authentication initiated...
[13:37:11]         Hostkey fingerprint:
[13:37:11]         ssh-dsa 1024 96:09:f3:84:7a:65:07:22:f6:ad:9a:a8:84:d1:96:92
[13:37:11]         Accepted. Verifying host key...
[13:37:11]         Verified.
[13:37:11] User authentication initiated...
[13:37:11]         Sent user name 'root'.
[13:37:12]         Sent password.
[13:37:13]         Access granted.
[13:37:13] Sent X11 forwarding request...
[13:37:13]         Succeeded.
[13:37:13] Sent the command line.
[13:37:13]         /usr/X11R6/bin/xterm -ls -display $DISPLAY
[13:37:13] Start timer (TIMER_SHUTDOWN, 180).
_X11TransSocketINETConnect() can't get address for localhost:6011: Name or service not known
Warning: This program is an suid-root program or is being run by the root user.
The full text of the error or warning message cannot be safely formatted
in this environment. You may get a more descriptive message by running the
program as a non-root user or by removing the suid bit on the executable.
/usr/X11R6/bin/xterm Xt error: Can't open display: %s
[13:40:13] Stop timer (TIMER_SHUTDOWN).
[13:40:13] Connection closed.

解决方法:

vi /etc/hosts

加入下面一行

127.0.0.1 localhost.localdomain localhost


 

 

 

 

 

 

 

 

 

 

 

 

 

 

fj.pngX11TransSocketINETConnect.jpg

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/12548713/viewspace-198174/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/12548713/viewspace-198174/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值