您尚未登录。

#1 2017-04-07 18:10:17

total39
会员
注册时间: 2015-05-15
帖子: 1

安装cdesktopenv (CDE) 登录时卡住

vmware中安装系统后,添加了archlinuxcn的源并安装了yaourt,然后用普通用户执行:
    yaourt -S cdestopenv
安装过程中一路采用默认设置。安装过程没有报错或终止,安装后执行
systemctl enable rpcbind
systemctl enable dtlogin
systemctl disable firewall
然后重启系统,重启时,dtlong界面加载出来,输入用户名密码(root和普通用户都试过),然后进入一个类似欢迎的界面,蓝色背景,上面显示
Starting the common Desktop Enviornments

Common Desktop Environment Version 2.2.4
....
...
the GNU LGPL,please see the file COPYING for more details.

等了几分钟都没反应,后来鼠标指针直接变成一个沙漏,背景一片漆黑,就卡在这里了。

搜了一下,参考这几个地址:

  http://unix.ittoolbox.com/groups/techni … ent-600018
  https://sourceforge.net/p/cdesktopenv/d … /315d16e4/
  http://www.tek-tips.com/viewthread.cfm?qid=725619

应该是/etc/hosts的问题,于是修改了hosts但是都没起作用,下面是我的系统信息:

主机名为:
[root@BingoCDE ~]# hostname
BingoCDE

网络信息为:
[root@BingoCDE ~]# ifconfig
ens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.244.159  netmask 255.255.255.0  broadcast 192.168.244.255
        inet6 fe80::664b:8ff2:70eb:fea  prefixlen 64  scopeid 0x20<link>
        ether 00:0c:29:3e:b6:04  txqueuelen 1000  (Ethernet)
        RX packets 288  bytes 21518 (21.0 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 72  bytes 11036 (10.7 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 55  bytes 3480 (3.3 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 55  bytes 3480 (3.3 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

hosts文件为:
[root@BingoCDE ~]# cat /etc/hosts
#
# /etc/hosts: static lookup table for host names
#

#<ip-address>   <hostname.domain.org>   <hostname>
127.0.0.1       BingoCDE.localdomain    BingoCDE
192.168.244.159 BingoCDE.localdomain    BingoCDE

#127.0.0.1      localhost.localdomain    localhost
#::1            locahost.localdomain    localhost

# End of file

host.conf文件为:
[root@BingoCDE ~]# cat /etc/host.conf
#
# /etc/host.conf
#
order hosts,bind
multi on

# End of file


后来看到~/.dt/errorlog里面内容如下:
[root@BingoCDE .dt]# cat errorlog
*** ERROR(4): dtsession: PID 398: Fri Apr 07 16:49:26 2017
Connection to server lost - exiting.
*** [95]

*** INFORMATION(0): dtwm: PID 406: Fri Apr 07 16:49:26 2017
Workspace Manager: I/O error on display:: :0

*** [106]


登录后,单独执行startx 可以打开图形环境,上面两个xterm终端
执行startx /usr/dt/bin/Xsession
报错:
[root@BingoCDE bin]# startx Xsession

X.Org X Server 1.19.3
Release Date: 2017-03-15
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.9.11-1-ARCH x86_64
Current Operating System: Linux BingoCDE 4.10.8-1-ARCH #1 SMP PREEMPT Fri Mar 31 16:50:19 CEST 2017 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=c03d248a-2ded-45d3-a373-2951338f45a8 rw quiet
Build Date: 16 March 2017  02:47:54PM

Current version of pixman: 0.34.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Apr  7 17:45:38 2017
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.d command.



实在没招了,求大牛们指点,多谢!

离线

页脚