Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: megamax on September 07, 2016, 09:32:59 PM

Title: A20 LIME2-eMMC disable ligthdm at boot
Post by: megamax on September 07, 2016, 09:32:59 PM
Hi,
I need to disable lightdm (and X11) at boot; I tried with "update-rc.d -f lightdm remove", "systemctl -r disable lightdm.service" and search it in rc.local or /root/.bashrc but nothing to do, it always start at boot. How can I disable it in a clean way? I don't like methods such as "chmod -x /usr/sbin/lightdm".

Thanks a lot in advance for suggestions.
Title: Re: A20 LIME2-eMMC disable ligthdm at boot
Post by: srxa on September 07, 2016, 10:02:45 PM
edit /etc/X11/default-display-manager and replace only line with /usr/sbin/true.
Title: Re: A20 LIME2-eMMC disable ligthdm at boot
Post by: megamax on September 07, 2016, 10:43:52 PM
Ok, it works without systemd errors.

Thanks again!