最近内核更新后无法启动 LightDM

最近内核更新后无法启动 LightDM

每当我启动时,它都会显示 Plymouth,然后进入一个充满启动日志的屏幕,我认为唯一相关的部分是Starting Wait for Plymouth Boot Screen to Quit...es.ileged Tasks.s..p link was shut down...(如果有人知道这个文件的记录位置,我可以上传它,我手动复制了它。其他一切都通过 SSH 进行)它已经进入这个低图形模式,使用 Nvidia 驱动程序,它没有它们也能正常启动,但在我摆弄之后,我只得到这个。我可以用进入终端ctrl+alt+1,所以我尝试重新运行 lightdm,我得到了这个:

aidan@cinnabar:~$ sudo lightdm
[sudo] password for aidan:
/etc/modprobe.d is not a file
/etc/modprobe.d is not a file
/etc/modprobe.d is not a file
/etc/modprobe.d is not a file
update-alternatives: error: no alternatives for x86_64-linux-gnu_gfxcore_conf

这些是 modprobe.d 的内容:

aidan@cinnabar:~$ ls /etc/modprobe.d/
alsa-base.conf           blacklist-framebuffer.conf   blacklist-watchdog.conf         iwlwifi.conf
blacklist-ath_pci.conf   blacklist-modem.conf         dkms.conf                       mlx4.conf
blacklist.conf           blacklist-oss.conf           fbdev-blacklist.conf            vmwgfx-fbdev.conf
blacklist-firewire.conf  blacklist-rare-network.conf  intel-microcode-blacklist.conf

我也尝试过跑步sudo service lightdm restart,它给了我Job for lightdm.service failed. See "systemctl status lightdm.service" and "journalctl -xe" for details.

输出systemctl status lightdm.service

aidan@cinnabar:~$ systemctl status lightdm.service
● lightdm.service - Light Display Manager
   Loaded: loaded (/lib/systemd/system/lightdm.service; enabled; vendor preset: enabled)
  Drop-In: /lib/systemd/system/display-manager.service.d
           └─xdiagnose.conf
   Active: failed (Result: start-limit) since Thu 2015-09-17 21:02:58 CDT; 1min 13s ago
     Docs: man:lightdm(1)
  Process: 2299 ExecStart=/usr/sbin/lightdm (code=exited, status=1/FAILURE)
  Process: 2294 ExecStartPre=/bin/sh -c [ "$(basename $(cat /etc/X11/default-display-manager 2>/dev/null))" = "lightdm" ] (code=exited, status=0/SUCCESS)
 Main PID: 2299 (code=exited, status=1/FAILURE)

Sep 17 21:02:58 cinnabar systemd[1]: lightdm.service failed.
Sep 17 21:02:58 cinnabar systemd[1]: lightdm.service holdoff time over, scheduling restart.
Sep 17 21:02:58 cinnabar systemd[1]: start request repeated too quickly for lightdm.service
Sep 17 21:02:58 cinnabar systemd[1]: Failed to start Light Display Manager.
Sep 17 21:02:58 cinnabar systemd[1]: Unit lightdm.service entered failed state.
Sep 17 21:02:58 cinnabar systemd[1]: Triggering OnFailure= dependencies of lightdm.service.
Sep 17 21:02:58 cinnabar systemd[1]: lightdm.service failed.

journalctl -xepastebin 上的输出在这里。

我很乐意提供其他任何东西!如果有人知道哪里出了问题,我会非常感激。

机器:

  • MSI GE70 2PE Apache Pro
  • 英伟达 860M

答案1

对我来说,“cat /var/log/lightdm/x-0-greeter.log”的分析表明我必须创建 lightdm 目录。它不见了。运行以下命令后,我修复了我的计算机。

mkdir -p /var/lib/lightdm
chown -R lightdm:lightdm /var/lib/lightdm
chmod 0750 /var/lib/lightdm

答案2

我遇到了类似的问题,通过从 NVIDIA 下载最新的驱动程序并安装它解决了该问题。

http://us.download.nvidia.com/XFree86/Linux-x86_64/390.48/NVIDIA-Linux-x86_64-390.48.run

相关内容