运行xfce4的Arclinux启动失败

运行xfce4的Arclinux启动失败

我运行 archlinux xfce4 并自动登录和自动启动。 2013 年 5 月 7 日升级后,X 失败,但未在 Xorg.0.log 中留下错误消息。

答案1

问题或许与 linux (开罗) 中的字体和矢量绘图相关。

如果您像我一样自动登录和自动启动,首先要做的就是停止自动启动。

如果~/.bash-profilestartxfce4命令,请将其注释掉。

#if [[ -z $DISPLAY ]] && ! [[ -e /tmp/.X11-unix/X0 ]] && (( EUID )); then
#  exec nohup startxfce4 > .xlog & vlock
#fi

另请检查~/.xinitrc

您可能需要切换到备用控制台并以 root 身份登录,或从远程计算机登录,或附加systemd.unit=rescue.target到引导加载程序中的内核参数来执行此操作。

完成后重新启动并startxfce4在启动中达到多用户后进入。

如果您libpng15.so.15: cannot open shared object file在输出中看到,则可能存在矢量绘图冲突,可能是cairo来自 ─ 安装的软件包archlinux,org/AUR,用于配置系统如何处理字体。

怎么修?

archlinux,org/AUR一个相对简单的方法是由 archlinux 用户用新的包替换字体包布胡米尔archlinux.org/wiki 作为无限性:简单的方法

如果您对屏幕上的字体显示方式很挑剔,请务必阅读表格帖子用户在决定这样做之前请注意。

维基百科涵盖了您必须做的事情,但在开始之前请先查看这些注释:

  1. 您将从根本上改变您的 archlinux 使用字体的方式。
  2. 您必须将链接添加/etc/pacman.conf到他的存储库中
  3. 您可能需要从中删除一些软件包,archlinux,org/AUR但这将作为安装的一部分完成。
  4. 如果您运行 x86_64,请不要忘记 multilib。
  5. 不要忘记sudo pacman -Syy更新“pacman/conf”后运行
  6. 您可能必须强制 ( sudo pacman -Sd ⋯) 某些软件包安装。
  7. 该包的 pacman 命令是sudo pacman -Syu infinality-bundle
  8. 强制安装 pacman 命令请sudo pacman -Sd infinality-bundle谨慎使用!

祝你好运!

举个例子,这是我pacman.log今天早上的……

[2013-05-07 11:09] [PACMAN] Running 'pacman -Syu cairo'
[2013-05-07 11:09] [PACMAN] synchronizing package lists
[2013-05-07 11:09] [PACMAN] starting full system upgrade
[2013-05-07 11:09] [PACMAN] Running 'pacman -Syu cairo'
[2013-05-07 11:09] [PACMAN] synchronizing package lists
[2013-05-07 11:09] [PACMAN] starting full system upgrade
[2013-05-07 11:10] [PACMAN] removed cairo-cleartype (1.12.2-1)
[2013-05-07 11:10] [PACMAN] installed cairo (1.12.14-4)
[2013-05-07 11:10] [PACMAN] Running 'pacman -Syu infinality-bundle'
[2013-05-07 11:10] [PACMAN] synchronizing package lists
[2013-05-07 11:10] [PACMAN] starting full system upgrade
[2013-05-07 11:14] [PACMAN] Running 'pacman -Sd infinality-bundle'
[2013-05-07 11:15] [PACMAN] removed freetype2-infinality (2.4.10-1)
[2013-05-07 11:15] [ALPM-SCRIPTLET] 
[2013-05-07 11:15] [ALPM-SCRIPTLET]   Check for dead symlinks and leftover files 
[2013-05-07 11:15] [ALPM-SCRIPTLET]   in /etc/fonts/conf.d/
[2013-05-07 11:15] [ALPM-SCRIPTLET]   
[2013-05-07 11:15] [PACMAN] removed fontconfig (2.10.92-4)
[2013-05-07 11:15] [ALPM] warning: /etc/fonts/conf.d/52-infinality.conf saved as /etc/fonts/conf.d/52-infinality.conf.pacsave
[2013-05-07 11:15] [PACMAN] removed fontconfig-infinality (1-20130104)
[2013-05-07 11:15] [PACMAN] removed cairo (1.12.14-4)
[2013-05-07 11:15] [PACMAN] removed lib32-freetype2 (2.4.11-1)
[2013-05-07 11:15] [PACMAN] removed lib32-fontconfig (2.10.92-1)
[2013-05-07 11:15] [ALPM-SCRIPTLET]   If you have been using freetype2-infinality from the AUR,
[2013-05-07 11:15] [ALPM-SCRIPTLET]   the runtime file that came with it has been saved as
[2013-05-07 11:15] [ALPM-SCRIPTLET]   /etc/profile.d/infinality-settings.sh.pacsave and the new
[2013-05-07 11:15] [ALPM-SCRIPTLET]   one was installed in its place. You can manually delete
[2013-05-07 11:15] [ALPM-SCRIPTLET]   infinality-settings.sh.pacsave as it is not needed anymore.
[2013-05-07 11:15] [ALPM-SCRIPTLET] 
[2013-05-07 11:15] [ALPM-SCRIPTLET]   If you are using [multilib], please install/upgrade
[2013-05-07 11:15] [ALPM-SCRIPTLET]   lib32-freetype2-infinality-ultimate, too.
[2013-05-07 11:15] [PACMAN] installed freetype2-infinality-ultimate (2.4.11-3)
[2013-05-07 11:15] [ALPM-SCRIPTLET]   
[2013-05-07 11:15] [ALPM-SCRIPTLET]   Fontconfig-ultimate configuration is done via 
[2013-05-07 11:15] [ALPM-SCRIPTLET]   /etc/fonts/conf.avail, /etc/fonts/conf.avail.infinality and 
[2013-05-07 11:15] [ALPM-SCRIPTLET]   conf.d. Read /etc/fonts/conf.d/README for more information.
[2013-05-07 11:15] [ALPM-SCRIPTLET] 
[2013-05-07 11:15] [ALPM-SCRIPTLET]   Configuration via /etc/fonts/local.conf is still possible,
[2013-05-07 11:15] [ALPM-SCRIPTLET]   but is no longer recommended for options available in conf.avail.
[2013-05-07 11:15] [ALPM-SCRIPTLET] 
[2013-05-07 11:15] [ALPM-SCRIPTLET]   Main systemwide configuration should be done by symlinks, e.g.
[2013-05-07 11:15] [ALPM-SCRIPTLET]   
[2013-05-07 11:15] [ALPM-SCRIPTLET]   # cd /etc/fonts/conf.d
[2013-05-07 11:15] [ALPM-SCRIPTLET]   # ln -s ../conf.avail/XX-foo.conf
[2013-05-07 11:15] [ALPM-SCRIPTLET] 
[2013-05-07 11:15] [ALPM-SCRIPTLET]   In most cases default settings should suffice.
[2013-05-07 11:15] [ALPM-SCRIPTLET] 
[2013-05-07 11:15] [ALPM-SCRIPTLET]   Custom user based configuration should be done in the same way,
[2013-05-07 11:15] [ALPM-SCRIPTLET]   using XDG directory structure, e.g.
[2013-05-07 11:15] [ALPM-SCRIPTLET] 
[2013-05-07 11:15] [ALPM-SCRIPTLET]   $ cd /root/.config/fontconfig/conf.d
[2013-05-07 11:15] [ALPM-SCRIPTLET]   $ ln -s ../conf.avail/XX-foo.conf
[2013-05-07 11:15] [ALPM-SCRIPTLET] 
[2013-05-07 11:15] [ALPM-SCRIPTLET]   A few examples can be found in
[2013-05-07 11:15] [ALPM-SCRIPTLET]     /usr/share/doc/fontconfig/infinality-ultimate/fontconfig.
[2013-05-07 11:15] [ALPM-SCRIPTLET]   
[2013-05-07 11:15] [ALPM-SCRIPTLET]   For further information about fontconfig-infiinality-ultimate, see
[2013-05-07 11:15] [ALPM-SCRIPTLET]     /usr/share/doc/fontconfig-infinality-ultimate/README.html
[2013-05-07 11:15] [ALPM-SCRIPTLET]   Check also https://wiki.archlinux.org/index.php/Fonts.
[2013-05-07 11:15] [ALPM-SCRIPTLET] 
[2013-05-07 11:15] [ALPM-SCRIPTLET] updating font cache... done.
[2013-05-07 11:15] [PACMAN] installed fontconfig-infinality-ultimate (2.10.92-8)
[2013-05-07 11:15] [PACMAN] installed cairo-infinality-ultimate (1.12.14-5)
[2013-05-07 11:15] [PACMAN] installed lib32-freetype2-infinality-ultimate (2.4.11-2)
[2013-05-07 11:15] [PACMAN] installed lib32-fontconfig-infinality-ultimate (2.10.92-2)
[2013-05-07 11:18] [PACMAN] Running 'pacman -Syu lib32-freetype2-infinality-ultimate'
[2013-05-07 11:18] [PACMAN] synchronizing package lists
[2013-05-07 11:18] [PACMAN] starting full system upgrade
[2013-05-07 11:18] [PACMAN] reinstalled lib32-freetype2-infinality-ultimate (2.4.11-2)

相关内容