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。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM