免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1242 | 回复: 0
打印 上一主题 下一主题

ubuntu 启动GNOME设置守护进程时出错 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-12-30 20:03 |只看该作者 |倒序浏览

启动GNOME设置守护进程时出错

主题、声音或者背景设置等可能不会正常工作。
最后的错误信息是:
Did not receive a reply. Possible causes
include: the remote application did not send a reply, the message bus
security policy blocked the reply, the reply timeout expired, or the
network connection was broken.
GNOME在您下次登录时仍将试图重启动设置守护进程
今天早上开机,在登录后弹出上面的错误提示。昨天用还好好的,应该是我安装了什么软件造成的。回忆下昨天对系统进行了哪些改动,安装了apache、xinetd、,使用xinetd绑定vsftpd、apache(没完成)、设置了静态IP。
错误提示是守护进程出错,于是我进入终端[Ctrl+Alt+F1],检查了/var/log/daemon日志文件并和前天的对比了一下,除了少了dhcp(自动分配IP,注.我已经手动设置了ip)服务,没有发现什么异常。
难道是网络配置的问题?再打开/etc/network/interfaces文件,看到少了一项lo的配置!很显然是我在设置静态ip的时候犯了个低级错误。
设置前:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
设置后:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto eth0
iface eth0 inet static
address 192.168.1.254   
netmask 255.255.255.0
gateway 192.168.1.100
正确的应该是:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.254   
netmask 255.255.255.0
gateway 192.168.1.100
//重新启动网络服务
$ sudo /etc/init.d/networking restart
//重新启动GNOME
$ sudo /etc/init.d/gdm restart
搞定!


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/83272/showart_1762552.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP