• centos 虚拟机出问题 Oh no,something has gone wrong! 解决方法


    centos 7 在虚拟机中出现 这个错误 导致进入不了系统。

    经过一中午的百度测试了各种方法都不行。

    导致出错的原因,应该是在安装各种软件时触动了 Gnome 桌面底层依赖的包。

    最后找到了解决办法:

    screenshot

    出现如上图界面后

    然后ctrl+alt+F2 进入命令模式,然后输入root 账号和密码。

    root
    输入密码
    yum update
    ...等待
    输入 y
    ...等待
    就可以了
    

      

    其它系统的解决方法:

    问题1:

    edora安装CUDA后,系统无法正常重启,提示

    “Oh no! Something has gone wrong.Logout”

    解决办法:重启,ctrl+shft+f2,进入terminal界面,先根据自己的用户名(user name)和(user password)登陆,然后通过命令行卸载之前cuda的安装:

    $sudo dnf remove cuda

    然后一直同意卸载即可。

    edora安装CUDA后,系统无法正常重启,提示

    “Oh no! Something has gone wrong.Logout”

    解决办法:重启,ctrl+shft+f2,进入terminal界面,先根据自己的用户名(user name)和(user password)登陆,然后通过命令行卸载之前cuda的安装:

    $sudo dnf remove cuda

    然后一直同意卸载即可。用虚拟机安装debian7.1,在启动的时候遇到登录失败的问题,用GNOME Classic可以登录,特地记录如下:

    问题2:

    在登录进入GNOME3时,出错的内容如下,原本是一个对话框的,此处用文本表示

    Oh no! Something has gone wrong.

    A problem has occurred and the system can’t recover.

    Please log out and try again.

    [Log out](按钮)

    解决方法:用经典GNOME登录进入系统,打开终端,执行以下步骤:

    #mkdir ~/.config/autostart

    #vi ~/.config/autostart/ Gnome-Shell.desktop

    其内容如下:

    [Desktop Entry]
    Type=Application
    Exec=gnome-shell --replace
    Hidden=false
    NoDisplay=false
    X-GNOME-Autostart-enabled=true
    Name[en_US]=Gnome Shell
    Name=Gnome Shell
    Comment[en_US]=
    Comment=
    保存退出。

    然后用GNOME登录,OK。

    php开发交流群: 87710564
  • 相关阅读:
    使用开源GIS克隆一个Google Map
    《3s新闻周刊》No.4:与国产GIS企业一起成长
    Google发布免费的SketchUp
    VB和VBA工程的一些限制
    推荐一个新的RSS阅读站点:抓虾
    USGS如何利用Google Earth
    ESRI今年的Dev Summit的幻灯片
    Google Map创建工具和资源
    《3s新闻周刊》第6期发布,本期话题:海外聚焦――空间信息技术进行式
    《Excel与VBA程序设计》最新进度(>75%)
  • 原文地址:https://www.cnblogs.com/wangdeguao/p/13168012.html
Copyright © 2020-2023  润新知