我已经阅读了很多关于以前版本的 Ubuntu 的这个问题的帖子,但它们在我的情况下似乎不起作用。
在启动时并在 /var/log/boot.log 中显示守护进程 /usr/sbin/lightdm,只是关闭 - 似乎没有任何明显错误,让我陷入“Kubuntu”对我咧嘴笑的状态。然后,如果我启动终端,登录并执行“service lightdm start”,它将完美启动。
我尝试了一些“丑陋的技巧”来让它启动,比如在 init 脚本“/etc/init.d/lightdm”服务 lightdm start 或 /etc/init.d/lightdm start 中添加底线,但它仍然不会在启动时启动。卸载所有其他显示管理器(gdm 和 kdm)。
有任何想法吗?
#!/bin/sh
# Largely adapted from xdm's init script:
# Copyright 1998-2002, 2004, 2005 Branden Robinson <branden@debian.org>.
# Copyright 2006 Eugene Konev <ejka@imfi.kspu.ru>
#
# This is free software; you may redistribute it and/or modify
# it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 2,
# …Run Code Online (Sandbox Code Playgroud) 我知道窗口管理器只是管理窗口,基本上可以与任何DE一起使用。我的问题是显示管理器和桌面环境有什么区别?我问这个问题是因为我在 Arch Linux 上运行 i3-gaps,并且我希望能够拥有多个显示管理器/窗口管理器/桌面环境,这样事情就不会无聊。