解決ubuntu登陸失敗,"Failed to start session"的問題
我是在虛擬機器中安裝了Ubuntu 14.04 系統,在Ubuntu 中執行 apt-get update 和 apt-get upgrade 命令後,然後重啟系統。
但是,在重啟成功後,在登陸的介面進行登陸時,卻報錯誤"Failed to start session" ,無法登陸。
Ubuntu 從 圖形介面 切換到 終端介面的 命令是: CTRL + ALT + [F1 ~ F6] // F1 到 F6中任意一個按鍵都可以。
Ubuntu 從 終端介面 切換到 圖形介面的 命令是: CTRL + ALT + F7
把登陸介面 切換到 終端 介面,然後再終端中輸入 賬號和密碼 進入 系統。
在Ubuntu系統中執行以下命令:
sudo apt-get install ubuntu-desktop
重啟系統,然後就可以在圖形介面登陸成功了。
---------------------
作者:西域孤梅
來源:CSDN
原文:https://blog.csdn.net/lhd435940424/article/details/78853066
版權宣告:本文為博主原創文章,轉載請附上博文連結!
相關推薦
解決ubuntu登陸失敗,"Failed to start session"的問題
我是在虛擬機器中安裝了Ubuntu 14.04 系統,在Ubuntu 中執行 apt-get update 和 apt-get upgrade 命令後,然後重啟系統。 但是,在重啟成功後,在登陸的介面進行登陸時,卻報錯誤"Failed to star
Spring配置事務,Junit單元測試報錯"Failed to load ApplicationContext"
問題: Junit單元測試程式碼如下: package cn.muke.spring.demo2; import javax.annotation.Resource; import org.junit.Test; import org.junit.runner.RunWith; imp
Ubuntu報錯Gtk-Message: Failed to load module "canberra-gtk-module"
當執行firefox報錯: Gtk-Message: Failed to load module "canberra-gtk-module" 解決方法: apt-get install libcanberra-gtk3-module 注意: gtk後面有個3 一開始查了用
解決springboot啟動失敗問題:Unable to start embedded container;
應該 create exception illegal cep listener cli use log 全部報錯內容如下: org.springframework.context.ApplicationContextException: Unable to start e
Ubuntu登入輸入正確密碼顯示failed to start session
Ubuntu登入時輸入了正確的密碼返回failed to start session 不能進入系統,故意輸入錯誤的密碼則會返回“密碼錯誤”。 解決方法: 一、進入gnome介面 在登入介面按Ctrl+Alt+F1 在login後輸入使用者名稱,輸入完後按回車,輸
grafana 頁面報錯被重定向次數過多,後臺報 Failed to start session%!(EXTRA *os.PathError=open /var/lib/grafana/session
grafana 頁面報錯被重定向次數過多,後臺報Failed to start session%!(EXTRA *os.PathError=open /var/lib/grafana/sessions
【軟體安裝故障排除】安裝完PyCharm,啟動時彈出"Failed to load JVM DLL\bin\server\jvm.dll"解決方案
問題描述:開啟PyCharm時,彈出“Failed to load JVM DLL\bin\server\jvm.dll if you already have a 32-bit JDK install....” 解決方案: 別人的解決方案: (1)安裝Microsoft Visual C
pyinstaller打包python檔案後,執行出現"Failed to execute script xxx.exe"錯誤的解決方式(No module named 'xxx')
一、問題定位: windows+r進入cmd命令列視窗 cd exe檔案所在路徑;如cd C:\Users\user\Desktop\test\dist
在Ubuntu下搭建Eclipse+SVN,涉及 Failed to load JavaHL Library的解決方法~
本篇文章獻給那些每做一步都會報錯的人。 首先,在終端執行sudo apt-get install subversion。 接著,在 下載完成以後,進入eclipse當年的安裝目錄,在此安裝目錄下建立一個新的資料夾links,將剛才
解決問題:Android Studio Run時,APP安裝失敗--Installation failed with message Failed to establish session.
剛開始使用Android Studio, 使用的是紅米Note 3 , MIUI 7.3 ,Run時,app安裝不到手機上,提示: Installation failed with message Failed to establish session. It is pos
MyEclipse打開JSP文件報"Failed to create the part's controls"解決方法
ati file setting editor 技術 figure str 其他 clean HTML代碼放到JSP中的,打不開了,在網上找了半天解決方法,總算解決了。 方法1. 在"開始"-->"運行"---->"cmd"進入命令提示行後,再進入myec
MyEclipse打開JSP文件報"Failed to create the part's controls"解決方法匯總
project 文件夾 window per win 而且 configure work 有時 有時候,打開別人的開發環境中導過來的項目的JSP文件,會出現“Failed to create the part‘s controls”的錯誤! 解決的
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".錯誤的解決方法
class 今天 解決 刪除 static log 你們 沒有 開發 1、今天新git下來的項目報錯如下: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".SLF4J: Defaulting t
Linux 網易雲音樂不能啟動問題及解決 Failed to load module "pantheon-filechooser-module"
linu 音樂 dap element music ubunt mes -a 沒有 安裝的Elementary os 網易雲安裝以後啟動不了 去命令行啟動 查看到報錯信息 Gtk-Message: Failed to load module "pantheon-filech
apache2啟動失敗(Failed to start The Apache HTTP Server.)解決方案
star 卸載 sta 啟動 art code led sudo pac 不知道如何啟動apache2就啟動不來了。 如下圖所示: 即使卸載了重新裝也是如此 經過測試卸載並清除軟件包的配置即可解決 sudo apt-get purge apache2 s
解決android6.0開啟攝像頭許可權"Failed to connect to camera service"的問題 ,動態獲取許可權
android6.0使用camera.open()時需要在onCreate()裡面新增如下程式碼,否則會報錯"Failed to connect to camera service": if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M)
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".解決辦法
異常如圖: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http
Eclipse中部署專案時,Tomcat啟動報錯 “Failed to start component [StandardServer[8005]]”的解決方法
【錯誤現象】SEVERE: The required Server component failed to start so Tomcat is unable to start. org.apache.catalina.LifecycleException: F
tomcat啟動失敗問題排除及解決辦法 Server Tomcat v9.0 Server at localhost failed to start.
解決方案一:點選控制檯下的server,右擊一下,點選Add And Remove,把專案重新部署一下,在執行一下,看看能不能解決問題; 解決方案二:刪除掉eclipse中的服務,再重新部署一下 過程如下 delete掉server,-->window-->
git提交到遠端倉庫github上時,出現 “failed to push some refs to”解決方案!!
不得不吐個槽,網上關於git的資料實在是太亂了,為了解決一個問題,結果掉到了又一個坑裡!哎,趕緊自己把坑填起來,以免下次又掉進去!! 問題起源——以前在github上面建立了一個倉庫,後來專案寫的差不多了,想要提交到這個遠端倉庫上面! 然後執行下面步驟: 1.在專案根目錄下開啟g