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://groups.google.com/group/comp.unix.aix/browse_thread/thread/9ccd826368903176?pli=1
http://blog.csdn.net/huang_tg/article/details/6120409
https://groups.google.com/group/comp.unix.aix/browse_thread/thread/9ccd826368903176?pli=1
http://blog.csdn.net/huang_tg/article/details/6120409