2017-08-12 ubuntu 的桌面管理系统坏掉了。

问题描述

昨天晚上, 为了删除wine wine-stable wine* 什么的, 不知道怎么就unity就坏了, 出现的问题是在登陆界面输入密码那个界面循环。通过尝试了很多方法, 都没有解决(包括.xAuth)。 后来一想, 不就unity坏了吗, 我只需要重新安装unity就行了, 下面就是按照这个思路来解决这个问题的。

解决办法

1
2
3
4
5
6
7
8
9
10
11
12
13
14
//由于在解决这个问题时, 我错以为ubuntu的默认桌面系统是gnome, 因此我安装了gnome。 因此这里首先卸载gnome
sudo apt-get purge gnome gnome-shell

//现在是重新安装 unity
sudo apt-get install -reinstall ubuntu-desktop unity unity-lens* unity-services unity-asset-pool

//删除多于的包和库
sudo apt-get autoremove
sudo apt-get autoclean

//更新软件源数据, 并升级所有软件。 其实这一步没有必要做。
sudo apt-get update
sudo apt-get upgrade


2017-08-12 ubuntu 的桌面管理系统坏掉了。
https://www.supermew.top/2017/08/12/ubuntu-的桌面管理系统坏掉了。/
作者
八月
发布于
2017年8月12日
许可协议