[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

live-config/1140-xserver-xorg: x-session-manager=none doesn't account for lightdm



Hi folks,

x-session-manager=none on the kernel cmdline does no good if lightdm is installed
in the live-image: Prior to checking the contents of /etc/X11/default-display-manager,
/etc/init.d/lightdm has a check if that file exists in the first place. If it's not
found, lightdm will just start.

To deactivate lightdm, one could specify "text" on the kernel commandline. However,
live-config should aim for a consistent handling of DMs. So instead of just deleting
the file, the contents of default-display-manager should be modified with sed instead,
e.g.

----------8<---------
sed -i "s/\(.*\)/# deactivated by live-config: \1/;" -- /etc/X11/default-display-manager
----------8<---------


If nobody disagrees, I'll push a patch to debian-next.

Looking forward to your opinions.



Thanks
Daniel


Reply to: