[问题]出现如下问题,网上查了半天也没有解决方法

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
头像
youyuer
帖子: 18
注册时间: 2007-11-23 17:00

[问题]出现如下问题,网上查了半天也没有解决方法

#1

帖子 youyuer » 2007-11-30 13:40

beckwei@ubuntu-wjc:~$ sudo gedit /etc/hosts.conf
[sudo] password for beckwei:

** (gedit:8801): WARNING **: Cannot extract frame (168, 0) from the grid


** (gedit:8801): WARNING **: Cannot extract frame (168, 24) from the grid


** (gedit:8801): WARNING **: Cannot extract frame (168, 48) from the grid


** (gedit:8801): WARNING **: Cannot extract frame (0, 72) from the grid


** (gedit:8801): WARNING **: Cannot extract frame (24, 72) from the grid


** (gedit:8801): WARNING **: Cannot extract frame (48, 72) from the grid


** (gedit:8801): WARNING **: Cannot extract frame (72, 72) from the grid


** (gedit:8801): WARNING **: Cannot extract frame (96, 72) from the grid


** (gedit:8801): WARNING **: Cannot extract frame (120, 72) from the grid


** (gedit:8801): WARNING **: Cannot extract frame (144, 72) from the grid


** (gedit:8801): WARNING **: Cannot extract frame (168, 72) from the grid





看着好像是gedit的错误,但是不知道怎么解决?
头像
yaoms
帖子: 4952
注册时间: 2007-10-19 14:51
来自: 深圳

#2

帖子 yaoms » 2007-11-30 13:42

/etc/hosts.conf ??? 没有这个文件

你试试 sudo gedit /etc/hosts
Nothing 有事请发邮件到 yms541 AT gmail.com
alias 爱慕颇雷尔='mplayer'
头像
youyuer
帖子: 18
注册时间: 2007-11-23 17:00

#3

帖子 youyuer » 2007-11-30 13:45

yaoms 写了:/etc/hosts.conf ??? 没有这个文件

你试试 sudo gedit /etc/hosts



有这个文件,可以打开配置的
头像
yaoms
帖子: 4952
注册时间: 2007-10-19 14:51
来自: 深圳

#4

帖子 yaoms » 2007-11-30 13:47

youyuer 写了:
yaoms 写了:/etc/hosts.conf ??? 没有这个文件

你试试 sudo gedit /etc/hosts



有这个文件,可以打开配置的
我的/etc里只有这些(host*):
host.conf hostname hosts hosts.allow hosts.deny
hosts.conf是干什么用的?
Nothing 有事请发邮件到 yms541 AT gmail.com
alias 爱慕颇雷尔='mplayer'
头像
youyuer
帖子: 18
注册时间: 2007-11-23 17:00

#5

帖子 youyuer » 2007-11-30 13:50

yaoms 写了:
youyuer 写了:
yaoms 写了:/etc/hosts.conf ??? 没有这个文件

你试试 sudo gedit /etc/hosts



有这个文件,可以打开配置的
我的/etc里只有这些(host*):
host.conf hostname hosts hosts.allow hosts.deny
hosts.conf是干什么用的?


指定DNS


/etc/host.conf

告诉网络域名服务器如何查找主机名。(通常是 /etc/hosts,然后就是名称服
务器;可通过 netconf 对其进行更改)

/etc/hosts

包含(本地网络中)已知主机的一个列表。如果系统的 IP 不是动态生成,就
可以使用它。对于简单的主机名解析(点分表示法),在请求 DNS 或 NIS 网络名
称服务器之前,/etc/hosts.conf 通常会告诉解析程序先查看这里。
头像
yaoms
帖子: 4952
注册时间: 2007-10-19 14:51
来自: 深圳

#6

帖子 yaoms » 2007-11-30 13:52

又学习了
Nothing 有事请发邮件到 yms541 AT gmail.com
alias 爱慕颇雷尔='mplayer'
回复