Unity无法加载 – 没有Launcher或Dash出现

我在我的简单桌面PC(3GHz Intel P4,1GB RAM,Intel内置显卡,没有额外的显卡)上使用32位Ubuntu 14.04 LTS所以没有什么可担心像nvidia等图形。

这是lspci输出:

 $ lspci 00:00.0 Host bridge: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub (rev 02) 00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02) 00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller (rev 01) 00:1c.0 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 1 (rev 01) 00:1c.1 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 2 (rev 01) 00:1c.2 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 3 (rev 01) 00:1c.3 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 4 (rev 01) 00:1d.0 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #1 (rev 01) 00:1d.1 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #2 (rev 01) 00:1d.2 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #3 (rev 01) 00:1d.3 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #4 (rev 01) 00:1d.7 USB controller: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller (rev 01) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1) 00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01) 00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01) 00:1f.2 IDE interface: Intel Corporation NM10/ICH7 Family SATA Controller [IDE mode] (rev 01) 00:1f.3 SMBus: Intel Corporation NM10/ICH7 Family SMBus Controller (rev 01) 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 01) 

我安装了xubuntu-desktop环境, unity-tweak-tool ,工作正常3个月。

最近我遇到了问题: Unity没有加载,没有启动器,没有Dash出现 。 我已经尝试了答案,但无法解决我的问题。

可能的原因是我最近安装了ubuntu-tweak 。 所以,我也从tty中删除了它,但无法解决这个问题。

我有三种方法可以做任何事情:

  1. 使用tty( Ctrl + Alt F1
  2. 我已经安装了nautilus-open-terminal所以我可以通过右键单击桌面和“在这里打开终端”来启动gnome-terminal
  3. 使用Xubuntu Session。

我试过以下事情:

  • 启用unity-plugin( https://askubuntu.com/a/76951/256099 )但尚未解决。
  • dconf reset -f /org/compiz/来自gnome-terminal
  • 清除并重新安装unitycompizubuntu-desktop
  • 通过rm -rf ~/.compiz-1 ~/.config/compiz-1sudo rm -fr ~/.compizsudo rm -fr ~/.cache/*sudo rm -fr .cache/*
  • 尝试通过以下命令从gnome-terminal替换/重置统一:
    1. unity --replace
    2. setsid unity
    3. ubuntu-tweak-tool --reset-unity

输出-1输出-2

所有显示常见的事情:

 compiz (core) - Info: Starting plugin: unityshell WARN 2014-10-02 12:11:25 unity.glib.dbus.server GLibDBusServer.cpp:579 Can't register object 'org.gnome.Shell' yet as we don't have a connection, waiting for it... ERROR 2014-10-02 12:11:25 unity.debug.interface DebugDBusInterface.cpp:196 Unable to load entry point in libxpathselect: libxpathselect.so.1.4: cannot open shared object file: No such file or directory WARN 2014-10-02 12:11:25 xim.controller XIMController.cpp:103 IBus natively supported. ERROR 2014-10-02 12:11:26 nux.gltexture.resource.manager GLTextureResourceManager.cpp:54 Invalid target, impossible to generate a new texture. Impossible to generate a pixbuf: Failed to open file '': No such file or directory WARN 2014-10-02 12:11:26 unity.glib.dbus.server GLibDBusServer.cpp:579 Can't register object 'com.canonical.Unity.Launcher' yet as we don't have a connection, waiting for it... WARN 2014-10-02 12:11:26 unity.glib.dbus.server GLibDBusServer.cpp:579 Can't register object 'com.canonical.Unity.Dash' yet as we don't have a connection, waiting for it... WARN 2014-10-02 12:11:26 unity.glib.dbus.server GLibDBusServer.cpp:579 Can't register object 'org.gnome.SessionManager.EndSessionDialog' yet as we don't have a connection, waiting for it... WARN 2014-10-02 12:11:26 unity.glib.dbus.server GLibDBusServer.cpp:579 Can't register object 'com.canonical.Unity.Session' yet as we don't have a connection, waiting for it... WARN 2014-10-02 12:11:26 unity.glib.dbus.server GLibDBusServer.cpp:579 Can't register object 'org.gnome.ScreenSaver' yet as we don't have a connection, waiting for it... Segmentation fault (core dumped) 

我可以尝试重新安装整个操作系统。 或者,有什么办法可以解决这个问题吗?


现在该怎么办? ( 是不是可以重新安装整个统一桌面环境并使用新的DE而没有这样的问题?

尝试:

恢复默认设置

在终端中执行以下命令,一次一个。

 gconftool --shutdown sudo killall -r -I gconf sudo killall -r -I dconf rm -rf .compiz* .gconf* .config/dconf/ .config/compiz* 

请注意,上述命令将删除您已经完成的任何设置或配置。 键盘布局(如果有)也将被删除。 虽然上面的命令不会删除任何文件,但是当你第一次安装Ubuntu时,它们会恢复Unity设置。

重新启动系统以使更改生效。

同样的事情发生在我身上一次,所以这就是我得到的答案。