如果一切都失败了

如果一切都失败了

昨天我这样做了aptitude upgrade,今天当我输入我的凭证时,我被带回到登录屏幕,我可以通过登录控制台并手动启动 Xserver 和 unity 来开始我的会话。

我在谷歌上搜索,试图切换到 GDM,但 GDM 以“低图形模式”启动,而且我似乎也无法解决这个问题,我也试图切换到专有 nvidia 驱动程序,但没有帮助。

答案1

事实证明这是我的/etc/profile文件中出现的拼写错误......

答案2

首先,我会尝试使用以下脚本修复 Unity:这个问题

sudo apt-get install unity-tweak-tool
unity-tweak-tool --reset-unity

如果这不管用,我会遵循马赫什建议和尝试重置 gnome


如果一切都失败了

我建议您安装不同的桌面界面,例如 KDE(之所以选择它是因为它存在于主存储库中)。

sudo apt-get install kubuntu-desktop

如果你能够登录,请卸载 Unity(这一步我没有测试过)

sudo apt-get remove unity unity-2d unity-2d-panel unity-2d-spread unity-asset-pool unity-services unity-lens-files unity-lens-music unity-lens-applications gir1.2-unity-5.0 unity-common indicator-sound indicator-power indicator-appmenu libindicator7 indicator-application indicator-datetime indicator-messages libnux-2.0-0 nux-tools libunity-misc4 unity-2d-common

来自的命令https://askubuntu.com/a/20065/89515

重新安装应该更容易,sudo apt-get install ubuntu-desktop

相关内容