Chinaunix

标题: 进不了系统桌面了,命令行是好的,这是我的/etc/hosts我的IP是192.168.2.223 [打印本页]

作者: chj514057812    时间: 2013-07-09 10:50
标题: 进不了系统桌面了,命令行是好的,这是我的/etc/hosts我的IP是192.168.2.223
# @(#)47        1.2  src/bos/usr/sbin/netstart/hosts, cmdnet, bos61D, d2007_49A2
10/1/07 13:57:52
# IBM_PROLOG_BEGIN_TAG
# This is an automatically generated prolog.
#
# bos61D src/bos/usr/sbin/netstart/hosts 1.2
#
# Licensed Materials - Property of IBM
#
# COPYRIGHT International Business Machines Corp. 1985,1989
# All Rights Reserved
#
# US Government Users Restricted Rights - Use, duplication or
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
#
# IBM_PROLOG_END_TAG
#
# COMPONENT_NAME: TCPIP hosts
#
# FUNCTIONS: loopback
#
# ORIGINS: 26  27
#
# (C) COPYRIGHT International Business Machines Corp. 1985, 1989
# All Rights Reserved
# Licensed Materials - Property of IBM
#
# US Government Users Restricted Rights - Use, duplication or
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
#
#  /etc/hosts
#
# This file contains the hostnames and their address for hosts in the
# network.  This file is used to resolve a hostname into an Internet
# address.
#
# At minimum, this file must contain the name and address for each
# device defined for TCP in your /etc/net file.  It may also contain
# entries for well-known (reserved) names such as timeserver
# and printserver as well as any other host name and address.
#
# The format of this file is:
# Internet Address      Hostname        # local
# Internet Address can be either IPv4 or IPv6 address.
# Items are separated by any number of blanks and/or tabs.  A '#'
# indicates the beginning of a comment; characters up to the end of the
# line are not interpreted by routines which search this file.  Blank
# lines are allowed.

# Internet Address      Hostname        # local
# 192.9.200.1           net0sample      # ethernet name/address
# 128.100.0.1           token0sample    # token ring name/address
# 10.2.0.2              x25sample       # x.25 name/address
# 2000:1:1:1:209:6bff:feee:2b7f         ipv6sample      # ipv6 name/address
127.0.0.1               loopback local  # loopback (lo0) name/address
192.168.2.223   local
127.0.0.1       local
作者: woailili9    时间: 2013-07-10 21:08
是不是说进不了CDE界面了啊,这个好像可以搜到的,

1. 用df命令检查是否有文件系统满,特别是/及/var文件系统,如是,请清理或扩大之。
2. 用如下命令
  hostname
uname -n
cat /etc/hosts
检查是否在机器名的设置上有冲突
3. 用 smitty mktcpip 命令检查TCP/IP的设置是否正确,如设置了DNS 域名解析,要保证DNS服务器能被访问到。
如是新装机,网络配置不完善时,建议先不使用DNS。

4.试试命令#/usr/dt/bin/dtconfig -e 激活图形登录方式

#/etc/rc.dt 启动CDE
5. 如果以上方法还不成功,据说是可以重安装 X11.base.rte, X11.Dt.rte 和 X11.Dt.helpinfo 一试。
这就是搜到的,你实施吧
作者: jonesxiao    时间: 2013-07-13 10:32
删掉最后一行就没问题了。
作者: hello_unix    时间: 2013-07-13 21:56
按楼上说的做




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2