ubuntu桌面安裝

2021-10-07 02:14:53 字數 1128 閱讀 9268

由於ubuntu啟動太慢我一衝動給強制關機之後,就再也進不去桌面了,直接黑屏,只能進去tty介面,沒辦法我只能重灌桌面了,陶騰了一下午加一宿,記錄一下,以後出問題了也好留個方法。

首先出現的問題是連上網ping不通,這時先ping一下閘道器,我這裡是192.168.0.1,ping通了就說明連上路由器了至少,那就是dns的問題,不然就根據我另乙個部落格先用命令的方式連上wifi,接著輸入命令:

sudo vi /etc/resolv.conf
然後將檔案內容改為:

# dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)

# do not edit this file by hand -- your changes will be overwritten

nameserver 127.0.1.1

search localdomain

nameserver 8.8.8.8

nameserver 8.8.4.4

最後重啟網路

sudo /etc/init.d/netwworking restart
應該就可以聯網了。

然後就是

終端輸入: sudo add-apt-repository ppa:gnome3-team/gnome3 ,用於新增源。之後按enter

輸入sudo apt-get update && sudo apt-get install gnome-shell ubuntu-gnome-desktop ,進行安裝

我安裝過程遇到:kde-config-telepathy-accounts_4%3a15.12.3-0ubuntu1_amd64.deb這樣的問題,如果遇到就需要

使用dpkg -r解除安裝:執行命令sudo dpkg -r account-plugin-google unity-scope-gdrive,然後使用sudo apt install -f就可以了。其中account-plugin-google這個具體和錯誤對應,我用的是account-plugin-facebook

UBUNTU 桌面安裝

官方參考網頁 優麒麟 ubuntu kylin 是由麒麟軟體 主導開發的全球開源專案,其宗旨是通過研發使用者友好的桌面環境以及特定需求的應用軟體,為全球 linux 桌面使用者帶來非凡的全新體驗!優麒麟作業系統是 ubuntu 官方衍生版,得到來自 debian ubuntu mate lupa 等...

Ubuntu安裝桌面

apt get update 更新軟體庫 apt get upgrade 公升級軟體 apt get install ubuntu desktop 安裝ubuntu桌面系 sudo vi usr share lightdm lightdm.conf.d 50 ubuntu.conf 開啟50 ubu...

Ubuntu安裝桌面環境

在命令環境下執行如下命令 apt get update 更新軟體庫 apt get upgrade 公升級軟體 apt get install ubuntu desktop 安裝ubuntu桌面系統 安裝時間有點長,需要耐心等待。reboot重啟後發現桌面環境不能使用root賬戶登入.重啟然後使用c...