升级到 Ubuntu 15.10 后 Unity 不工作

Moh*_*him 3 unity 15.10

今天我升级到 Ubuntu 15.10,升级过程中没有发生错误,但升级后我可以使用我的用户名和密码登录,但 unity 不起作用。没有启动器,没有面板,绝对没有,只有背景。

我尝试使用compiz --replace unity它自己开始统一给我一个关于缺少函数定义的错误libunity.so并且它无法加载。

请问你能帮我解决这个问题吗?

[更新]

的输出sudo apt-cache policy libunity9

libunity9:
  Installed: 7.1.4+15.10.20151002-0ubuntu1
  Candidate: 7.1.4+15.10.20151002-0ubuntu1
  Version table:
 *** 7.1.4+15.10.20151002-0ubuntu1 0
        500 http://sy.archive.ubuntu.com/ubuntu/ wily/main amd64 Packages
        100 /var/lib/dpkg/status
Run Code Online (Sandbox Code Playgroud)

[更新]

尝试遵循两个答案后,错误消息已更改如下

DISPLAY=:0 compiz --replace unity 输出到标准错误

  compiz (core) - Info: Loading plugin: core
  compiz (core) - Info: Starting plugin: core
  Invalid MIT-MAGIC-COOKIE-1 keycompiz (core) - Fatal: Couldn't open display :0
  compiz (core) - Info: Stopping plugin: core
  compiz (core) - Info: Unloading plugin: core
Run Code Online (Sandbox Code Playgroud)

小智 6

重新安装对我不起作用,因为问题是由于特定的用户文件 ( ~/.)

要在升级到 Ubuntu 15.10 后取回您的 Unity 启动器,您只需打开一个虚拟终端Ctrl+Alt+F1,登录,然后:

sudo service lightdm stop
cd ~
rm  -rf .gconf .gconfd .compiz .config/compiz .config/dconf
sudo service lightdm restart
Run Code Online (Sandbox Code Playgroud)

就是这样,它对我有用!我的旧安装可能弄乱了用户文件,因此删除它们就成功了。