小编Mar*_*ijn的帖子

disable init.d script in systemd

I changed the init system from sysvinit to systemd on a raspbian installation. The install boots fine, but now starts lightdm on boot. I don't want it to do that.

I noticed lightdm.service is started on boot. Stopping the service with

systemctl stop lightdm.service

works fine.

systemctl disable lightdm.service should disable it, but gives me

Failed to issue method call: No such file or directory

systemctl status lightdm.service gives me

lightdm.service - LSB: Light Display Manager
      Loaded: loaded (/etc/init.d/lightdm)
      Active: …
Run Code Online (Sandbox Code Playgroud)

debian systemd init.d raspbian

13
推荐指数
2
解决办法
2万
查看次数

标签 统计

debian ×1

init.d ×1

raspbian ×1

systemd ×1