xmanger xstart 不能正常图形登录的问题

当尝试通过xmanger xstart进行图形登录时遇到连接打开后立即关闭的状况。检查发现存在大量gnome-session的连接,但图形界面并未启动。手动杀死相关进程后,重新启动图形界面恢复正常。然而,该方法并非总是有效,有时需要清理/tmp目录下的.X0-lock, .ICE-unix, gconfd-root和orbit-root等文件。" 45620015,1456932,Apache与Tomcat:区别、联系及整合应用,"['Web服务器', 'Java', 'Servlet', 'JSP', 'Apache服务器', 'Tomcat服务器']
摘要由CSDN通过智能技术生成

1,报错内容具体如下,昨天还可以用,今天突然不能正常使用了,且咨询相关人员,网络和主机未作任何修改,问题特别奇怪

现象是连接打开后,却又被关闭了,


09:29:14] Connecting...
[09:29:14] Connecting to '10.4.124.236'...
[09:29:14] Connected.
[09:29:14] Version exchange initiated...
[09:29:14]     server: SSH-2.0-OpenSSH_4.3
[09:29:14]     client: SSH-2.0-nsssh2_4.0.0023 NetSarang Computer, Inc.
[09:29:14]     SSH2 is selected.
[09:29:14] Algorithm negotiation initiated...
[09:29:14]     key exchange: diffie-hellman-group14-sha1
[09:29:14]     host key: ssh-dss
[09:29:14]     outgoing encryption: aes128-cbc
[09:29:14]     incoming encryption: aes128-cbc
[09:29:14]     outgoing mac: hmac-sha1
[09:29:14]     incoming mac: hmac-sha1
[09:29:14]     outgoing compression: none
[09:29:14]     incoming compression: none
[09:29:14] Host authentication initiated...
[09:29:14]     Hostkey fingerprint:
[09:29:14]     ssh-dsa 1024 d5:0c:cb:fb:15:25:f2:25:a4:98:d8:8c:64:dd:03:b6
[09:29:14]     Accepted. Verifying host key...
[09:29:14]     Verified.
[09:29:14] User authentication initiated...
[09:29:14]     Sent user name 'root'.
[09:29:15]     Sent password.
[09:29:15]     Access granted.
[09:29:15] Sent X11 forwarding request...
[09:29:15]     Succeeded.
[09:29:15] Sent the command line.
[09:29:15]     /usr/bin/gnome-session --display $DISPLAY
[09:29:15] Start timer (TIMER_SHUTDOWN, 180).
[09:29:15] An X11 channel (id=1) has opened.
[09:29:15] Stop timer (TIMER_SHUTDOWN).
SESSION_MANAGER=local/dtydb6:/tmp/.ICE-unix/20240
[09:29:15] An X11 channel (id=2) has opened.
[09:29:15] An X11 channel (id=2) has closed.
[09:29:30] Connection closed.


2,折腾了半天,发现配置和网络确实没啥问题,查看22端口连接的时候,发现了少许异常,大量gnome-session的的连接存在,说明图形不存在了,大量进程依然存在。


[root@dtydb6 ~]# netstat -anp |grep 22
tcp        0      0 127.0.0.1:2208              0.0.0.0:*                   LISTEN      14016/hpiod         
tcp        0      0 127.0.0.1:2207              0.0.0.0:*                   LISTEN      14021/python        
tcp      225      0 127.0.0.1:57276             127.0.0.1:6010              CLOSE_WAIT  25294/gnome-session 
tcp      225      0 127.0.0.1:54278             127.0.0.1:6011              CLOSE_WAIT  25430/gnome-session 
tcp        0      0 :::50221                    :::*                        LISTEN      8770/java           
tcp        0      0 :::22                       :::*                        LISTEN      14034/sshd          
tcp        0      0 ::ffff:127.0.0.1:50010      ::ffff:127.0.0.1:36322      ESTABLISHED 8436/java           
tcp        0      0 ::ffff:127.0.0.1:52233      ::ffff:127.0.0.1:50010      ESTABLISHED 141
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值