Ubuntu Linux设置守护进程时出错的解决


Ubuntu系统使用源从7.10升级到8.04后,启动并在用户登录后,界面无响应5分钟左右后,弹出出错信息:

    启动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在您下次登录时仍将试图重启动设置守护进程

    解决方法:

    在启动至将要登陆到用户桌面时, 按Ctrl + Alt + F1 进入命令行模式,作如下修改:

    sudo vim /etc/network/interfaces

    auto lo

    iface lo inet loopback

    auto eth0

    iface eth0 inet dhcp

    注意“eth0”最后一个字为零,而非英文字母“欧”,完成键盘输入后,按ESC,输入:

    wq!

    保存并退出文件的修改,使用如下命令重新启动网络服务:

    sudo /etc/init.d/networking restart

    或者:

    sudo ifdown eth0

    或者:

    sudo ifup eth0

    重启系统,发现问题已经解决,锐捷要求的动态ip也可以获取到,可顺利上线了

本文作者:

Ubuntu系统使用源从7.10升级到8.04后,启动并在用户登录后,界面无响应5分钟左右后,弹出出错信息:

    启动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在您下次登录时仍将试图重启动设置守护进程

    解决方法:

    在启动至将要登陆到用户桌面时, 按Ctrl + Alt + F1 进入命令行模式,作如下修改:

    sudo vim /etc/network/interfaces

    auto lo

    iface lo inet loopback

    auto eth0

    iface eth0 inet dhcp

    注意“eth0”最后一个字为零,而非英文字母“欧”,完成键盘输入后,按ESC,输入:

    wq!

    保存并退出文件的修改,使用如下命令重新启动网络服务:

    sudo /etc/init.d/networking restart

    或者:

    sudo ifdown eth0

    或者:

    sudo ifup eth0

    重启系统,发现问题已经解决,锐捷要求的动态ip也可以获取到,可顺利上线了

本文作者:
« 
» 
快速导航

Copyright © 2016 phpStudy | 豫ICP备2021030365号-3