Crystal Clear出现X connection to :0.0 broken (exp...

Crystal Clear遇到个问题,在AIX的native_stderr.log看到X connection to :0.0 broken (explicit kill or server shutdown).
运行xhost,hold住了,没有反应。

折腾了一天,解决方法很简单,将DISPLAY由:0.0改为:100.0,虽然有些古怪,but it works.

这个问题让自己了解到更多X Server的内容。

1. 要启动AIX上的X Server
/usr/dt/bin/dtlogin -daemon
然后产生如下进程:
/usr/lpp/X11/bin/X -x abx -x dbe -x GLX -D /usr/lib/X11//rgb -T -force :0 -auth /var/dt/A:0-vcgtMa
/usr/bin/X11/X -force -vfb -x abx -x dbe -x GLX :100

2. 如果DISPLAY=:100.0
用netstat -an|grep 100
会看到6100端口开启了,等待连接。


以下是一些摘录的内容:
The X server can be disabled and then killed with the following
    commands:

    /usr/dt/bin/dtconfig -d
    /usr/dt/bin/dtconfig -kill

  The X server can be restored after applying the fix with the
    following commands:

    /usr/dt/bin/dtconfig -e
    /usr/bin/startsrc -s dtsrc


--------
1. Open a terminal emulator window, and log in as root. 
   2. Obtain the process ID of the Login Manager by typing the following: 
      cat /var/dt/Xpid 
   3. Stop the Login Manager by typing: 
      kill -term process_id 

Starting the Common Desktop Environment manually 
Use this procedure to start the Common Desktop Environment manually. 
   1. Log in to your system as root. 
   2. At the command line, type the following: 
      /usr/dt/bin/dtlogin -daemon 

---------
tail /var/dt/Xerrors

转载于:https://my.oschina.net/l1z2g9/blog/62031

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

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值