我使用的是 32 位Ubuntu 14.04 LTS在我的简单台式电脑(3GHz Intel P4、1GB RAM、Intel 内置显卡、没有额外的显卡)上,所以无需担心 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 中删除,但无法解决这个问题。
我做任何事都有三种方法:
- 使用 tty ( Ctrl+ AltF1)
- 我已经安装好了
nautilus-open-terminal
,因此我可以gnome-terminal
通过右键单击桌面并“在此处打开终端”来启动。 - 使用 Xubuntu Session。
我尝试过以下事情:
- 启用 unity-plugin (https://askubuntu.com/a/76951/256099)但并未解决。
dconf reset -f /org/compiz/
从gnome-terminal
- 清除并重新安装
unity
,compiz
并且ubuntu-desktop
- 已删除缓存
rm -rf ~/.compiz-1 ~/.config/compiz-1
,,,,sudo rm -fr ~/.compiz
sudo rm -fr ~/.cache/*
sudo rm -fr .cache/*
- 尝试通过以下步骤替换/重置 unity
gnome-terminal
:unity --replace
setsid unity
ubuntu-tweak-tool --reset-unity
全部显示共同点:
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)
我可以尝试重新安装整个操作系统。或者,有什么方法可以解决这个问题?
现在该怎么办?(是否可以重新安装整个 Unity 桌面环境并使用全新的 DE 而不会出现这样的问题?)
答案1
尝试:
恢复默认设置
在终端中一次执行以下命令。
gconftool --shutdown
sudo killall -r -I gconf
sudo killall -r -I dconf
rm -rf .compiz* .gconf* .config/dconf/ .config/compiz*
请注意,上述命令将删除您已完成的所有设置或配置。键盘布局(如果有)也将被删除。虽然上述命令不会删除任何文件,但它们将恢复您首次安装 Ubuntu 时的 Unity 设置。
重新启动系统以使更改生效。
有一次我遇到过同样的事情,所以这里是我得到的有效答案。